GetBoundingBoxSize
XYZ? GetBoundingBoxSize(this Element element, View? view = null)Returns the axis-aligned size (Max - Min) of the element's bounding box, or null if unavailable.
Parameters
- elementElement
The element to inspect.
- viewView?
Optional view context.
Returns: Size vector (dx,dy,dz) or null if unavailable.
Example
XYZ? size = element.GetBoundingBoxSize();