SetRefPoint Method


Sets the 3D point in the document where the imported instance will be inserted. If not explicitly set, the instance will be inserted at the document origin.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2013

Syntax

C#
[ObsoleteAttribute("This method is deprecated in Revit 2016 - use the ReferencePoint property instead.")]
public void SetRefPoint(
	XYZ point
)
Visual Basic
<ObsoleteAttribute("This method is deprecated in Revit 2016 - use the ReferencePoint property instead.")> _
Public Sub SetRefPoint ( _
	point As XYZ _
)
Visual C++
[ObsoleteAttribute(L"This method is deprecated in Revit 2016 - use the ReferencePoint property instead.")]
public:
void SetRefPoint(
	XYZ^ point
)

Parameters

point
Type: Autodesk.Revit.DB XYZ

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

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 →