RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ReferencePoint

ReferencePoint.SetCoordinateSystem

Method
Description:
The position and orientation of the ReferencePoint.
Remarks:
The position of the point is given by CoordinateSystem.Origin, and the orientation is specified by the three unit vectors CoordinateSystem.BasisX, BasisY, BasisZ. The basis vectors must be unit length and mutually perpendicular. Whenever the Reference property is not null, changing the CoordinateSystem property has a compound effect. First the point is moved to the specified location. Then the point is moved to conform to its Reference, by the shortest possible distance.
Syntax
public void SetCoordinateSystem(
	Transform coordinateSystem
)
Parameters
Parameter Type Description
coordinateSystem Transform
Return Value
Exceptions
Exception Condition
ArgumentException Thrown when coordinateSystem does not specify an orthonormal basis.
InvalidOperationException Thrown when CoordinateSystem is set while the Reference property is not, and the ReferencePoint is unable to move to the new location.