AnalyticalModel.GetLocalCoordinateSystem
Description:
Gets the local coordinate system (LCS) for an analytical model element.
Gets the local coordinate system (LCS) for an analytical model element.
Remarks:
For obtaining LCS at specified point on analytical model element use [!:Autodesk::Revit::DB::Structure::AnalyticalModelStick::GetLocalCoordinateSystem()] or [!:Autodesk::Revit::DB::Structure::AnalyticalModelSurface.GetLocalCoordinateSystem()] methods.
For obtaining LCS at specified point on analytical model element use [!:Autodesk::Revit::DB::Structure::AnalyticalModelStick::GetLocalCoordinateSystem()] or [!:Autodesk::Revit::DB::Structure::AnalyticalModelSurface.GetLocalCoordinateSystem()] methods.
public Transform GetLocalCoordinateSystem()
nullNothingnullptr
Transformation matrix.
Returns null Nothing nullptr a null reference ( Nothing in Visual Basic) for analytical model elements that do not have local coordinate system.
Origin returned by transform is point for which local coordinate system was calculated.
-
Thrown when called on Isolated Foundation, Wall Foundation or in-place analytical model element. Those elements do not support local coordinate system.