Message 1 of 14
how to get Bounding Box of room element when it is in 3d?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
want to get min,max of room so used below code.
boundingBox = room.get_BoundingBox(revitDocument.ActiveView);
got bounding box.
When model is in 3D used below code
View3D view3d = revitDocument.ActiveView as View3D;
BoundingBoxXYZ boundingBox = room.get_BoundingBox(view3d);
Here boundingBox is getting null.Is their other way to get min,max of room element?
or Is their other way to get bounding box of room element when it is in 3D?