Archicad C++ API
About Archicad add-on development using the C++ API.

How to get elements list in 3D slab.

nishida_jp
Participant

I created a slab polygonal prism in 3D.
I would like to get the Guids of parts in multiple slabs in order to use ACAPI_Element_SolidLink_Create(),

but how can I do this?

Parts inside the slab will be retrieved,

including those that extend beyond the slab.

I cannot use 'bounds' because there are diagonal parts.

1 REPLY 1
LChen
Graphisoft
Graphisoft

Hi,

Sorry, I'm not so clear what your problem is. If you'd seek (judge) whether a slab is inside or outside of another polygon (prism), then it's a geometry matter. I'm afriad you cannot find a single command which can do with API.