Revit 2025.3 API
Span |
Gets the default placement point for the input element. The default position is in the middle of the bounding box of the top face.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static XYZ GetDefaultPlacementPoint( Document document, LinkElementId elemIdToTag )
Public Shared Function GetDefaultPlacementPoint ( document As Document, elemIdToTag As LinkElementId ) As XYZ
public: static XYZ^ GetDefaultPlacementPoint( Document^ document, LinkElementId^ elemIdToTag )
static member GetDefaultPlacementPoint : document : Document * elemIdToTag : LinkElementId -> XYZ
Parameters
- document Document
- The document.
- elemIdToTag LinkElementId
- The ElementId of a Floor (either in the document or linked from another document).
Return Value
XYZReturns the default placement point for the input element. The default position is in the middle of the bounding box of the top face.
| Exception | Condition |
|---|---|
| ArgumentException | The specified elemIdToTag should represent a Floor element. |
| ArgumentNullException | A non-optional argument was null |
See Also