Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

PointListIndexOf Method (Point, Int32, Int32)

Gets the index of the specified point between the index to start the search from and startIndex + count.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
public int IndexOf(
	Point value,
	int startIndex,
	int count
)

Parameters

value
Type: Tekla.Structures.Geometry3dPoint
The point to locate in the list.
startIndex
Type: SystemInt32
The index to start the search from.
count
Type: SystemInt32
The number of items searched.

Return Value

Type: Int32
The index of the point if found in the list, otherwise -1.
See Also