Get relativ curtain wall bounding box

Get relativ curtain wall bounding box

stmeyerMHRM4
Explorer Explorer
603 Views
1 Reply
Message 1 of 2

Get relativ curtain wall bounding box

stmeyerMHRM4
Explorer
Explorer

I want to determine the detailed geometry (mullions / transoms) of a facade using the API. When I get the BoundingBox of the facade, it is in the world coordinate system and not relative. A mathematical conversion is easy for straight aligned facades. However, if the facade is diagonally oriented, it is not possible to determine the correct relativ BoundingBox. Hence my question, can a relative BoundingBox be queried directly?

0 Likes
Accepted solutions (1)
604 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni
Accepted solution

You can retrieve the detailed curtain wall geometry, extract all its vertices, and create a convex hull from them:

 

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes