SetReferencePick Method


Number System Set Reference Pick Method

Sets the reference pick.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetReferencePick(
	Reference referencePick
)

Parameters

referencePick Reference
The pick to set.
Exceptions
Exception Condition
ArgumentException The referencePick is not a valid reference.
ArgumentNullException A non-optional argument was null
Remarks
It is suggested to get the new reference via GetNumberSystemReference() from the host element.
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 →