License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.

get the elements lying in a rectangular area

Anonymous
Not applicable
Hi 🙂

Is there a way to query the element-database with a rectangular area?
The result should be the elements which are inside the query-rectangle.

Has anyone a hint how to achieve this?

I found "ACAPI_Selection_SetMarquee", but the docu says:
"The function has no effect on the individual selection of elements."
If the addon could select the elements inside the marque-area, the elements could be retrieved by ACAPI_Selection_Get.
But i don't know how or whether this is possible.

I hope someone has a hint for me 🙂

regards,
John
1 REPLY 1
Anonymous
Not applicable
In answer to your questions: yes, yes, and yes

I do this like you describe and it works fine. I have no idea what they mean by that statement, maybe it will not unselect any already selected elements???

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!