Find small floor in large floor

Find small floor in large floor

Anonymous
Not applicable
377 Views
1 Reply
Message 1 of 2

Find small floor in large floor

Anonymous
Not applicable

I'm going to code auto floor tool by room.

But some floors create huge and duplicate small floors.

So, I'm trying to find duplicate floor by floor curve.

Can we change it to boundary and find small floors in boundary?

Thank you in advance

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

jeremytammik
Autodesk
Autodesk

This is basically a question about 2D Boolean operations between the polygons defined by the floor boundary curve loops.

 

The Building Coder has discussed a number of such cases and solutions in the topic group on 2D Booleans and Adjacent Areas:

 

https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.2

 

The simplest approach will probably be to integrate a Boolean library for 2D polygons into your add-in and use that.

 

I hope this helps.

 

Best regards,

 

Jeremy

 



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

0 Likes