GetPoint Method


Polymesh Topology Get Point Method

Returns one point at the given index.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public XYZ GetPoint(
	int idx
)

Parameters

idx Int32
A zero-based index of a polymesh point

Return Value

XYZ
XYZ coordinates of the point
Exceptions
Exception Condition
ArgumentException The given value is not a valid index of a point of the polymesh. A valid valure is not negative and is smaller than the number of points in the polymesh.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →