Convert a floorview bounding box to elevations looking at each face.

Convert a floorview bounding box to elevations looking at each face.

FrankHolidaytoiling
Advocate Advocate
349 Views
1 Reply
Message 1 of 2

Convert a floorview bounding box to elevations looking at each face.

FrankHolidaytoiling
Advocate
Advocate

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;

0 Likes
350 Views
1 Reply
Reply (1)
Message 2 of 2

FrankHolidaytoiling
Advocate
Advocate

-Just to append to my question...

Imagine a box this is created from a view plan that is not bounded by walls , so an area inside the room. i want to make 4 elevations look from outside the box, looking at the boxes centre from each of the 4 sides. The elevation markers are already sitting at the midpoint of each of the 4 edges of the floorviews cropbox in plan.

 

Any help would be appreciated!

0 Likes