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

Bug? When using API13 gets zones in marquee based selection

Anonymous
Not applicable
Likes the picture below.

When using "ACAPI_Selection_Get", I cannot get the zone!

The document says: "In the case of marquee based selection, only those the elements will be returned which have an intersection with the marquee area."

There is no intersection between the marquee with the zone in my project ?

Sorry for my poor English.
1 REPLY 1
Ralph Wessel
Mentor
wcyoot wrote:
There is no intersection between the marquee with the zone in my project ?
No - the marquee perimeter must intersect with the zone perimeter. If the marquee is entirely bounded by the zone, it won't consider this to be an intersection. This is also true if you test it manually in the floor plan, i.e. ArchiCAD's tools work the same way for the user as they do through the API.
Ralph Wessel BArch