Revit 2016 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: 16.0.0.0 (16.0.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. |