Convert a floorview bounding box to elevations looking at each face.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
As the elevation marker relies on walls for its extents it is very unreliable to create these internal views.
To improve this I would like to take my floorview.boundingboxXYZ() and resize the elevations I have created on my markers.
I know I can resize the elevation cropbox like this however I am getting the views location translocate 20 or 50 metres away from the elevation marker.
Is there a transform i need to make the elevation view cropbox use the floorview bounding box? Is it correct to use the floorview bounding box or should i be using a UV instead?
cheers
Fabs
BoundingBoxXYZ bb_elev = elevationView.CropBox;
XYZ new_max = new XYZ(bb_elev.Max.X, bb_elev.Min.Y + rvt_Ceiling_height, bbxyz.Min.Z);
bb_elev.Max = new_max;
XYZ new_min = new XYZ(bb_elev.Min.X, bb_elev.Min.Y, bbxyz.Min.Z - d);
bb_elev.Min = new_min;