Change the rule for computing the
location of the ReferencePoint relative to other elements in
the document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void SetPointElementReference( PointElementReference pointElementReference )
Parameters
- pointElementReference PointElementReference
- An object specifying a rule for the location and orientation of a ReferencePoint. (Note: The ReferencePoint object does not store the pointElementReference object after this call.)
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when Reference is set to a non-null object, and the ReferencePoint is unable to move to the new reference. |