Revit 2023 API |
FamilyInstance..::..GetSpatialElementCalculationPoint Method |
FamilyInstance Class See Also |
Gets the location of the calculation point for this instance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2016
Syntax
C# |
---|
public XYZ GetSpatialElementCalculationPoint() |
Visual Basic |
---|
Public Function GetSpatialElementCalculationPoint As XYZ |
Visual C++ |
---|
public: XYZ^ GetSpatialElementCalculationPoint() |
Return Value
A 3d point.
Remarks
See HasSpatialElementCalculationPoint for reference.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown if this instance does not have a single calculation point. |