how to retrieve non rectangular opening

how to retrieve non rectangular opening

markjvlampad
Advocate Advocate
416 Views
2 Replies
Message 1 of 3

how to retrieve non rectangular opening

markjvlampad
Advocate
Advocate

Hi to all Expert out there.

 

is there any chance to retrieve non rectangular opening from wall?

 

any hint or class to use?

 

thank you,

0 Likes
417 Views
2 Replies
Replies (2)
Message 2 of 3

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @markjvlampad ,

try using below code

IList<ElementId> eids = wall.FindInserts(true, true, true, true) as IList<ElementId>;

I hope this helps.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 3

jeremytammik
Autodesk
Autodesk

Many different approaches for retrieving all kinds of wall openings have been discussed by The Building Coder, and several have been successfully tested on arbitrary complex shapes:

 

https://www.google.com/search?q=wall+opening&as_sitesearch=thebuildingcoder.typepad.com

 

Please let us know what works for you, and what your final solution looks like.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes