GetRefPoint Method


Returns the physical location of the reference point.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2016

Syntax

C#
public XYZ GetRefPoint(
	int index
)
Visual Basic
Public Function GetRefPoint ( _
	index As Integer _
) As XYZ
Visual C++
public:
XYZ^ GetRefPoint(
	int index
)

Parameters

index
Type: SystemInt32
The index of the point to return.

Remarks

The index should be between 0 and less than NumRefPoints.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException Thrown when index is out of range.

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 →