ConvertBoundingBoxToSolid
Solid ConvertBoundingBoxToSolid(this BoundingBoxXYZ boundingBox)Converts a BoundingBoxXYZ into a Solid by extruding the base rectangle and applying the bounding box transform.
Parameters
- boundingBoxBoundingBoxXYZ
The bounding box to convert.
Returns: A Solid representing the bounding box.
Example
BoundingBoxXYZ bb = element.get_BoundingBox(null);Solid s = bb.ConvertBoundingBoxToSolid();s.VisualizeSolid(doc, new Color(0, 255, 255));