NewReferencePoint Method (XYZ)


Family Item Factory New Reference Point(XYZ) Method

Create a reference point at a given location in an Autodesk Revit family document.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ReferencePoint NewReferencePoint(
	XYZ A_0
)

Parameters

A_0 XYZ

Return Value

ReferencePoint
The newly created ReferencePoint.
Exceptions
Exception Condition
ArgumentNullException Thrown when the argument is .
InvalidOperationException Thrown when the family is not a Conceptual Mass Family.
Remarks
The ReferencePoint will have a default coordinate system corresponding to the global coordinate system.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →