The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (Archicad API, BIMx API, BIMcloud API) for independent software developers

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, gkmethy, Tibor Lorántfy, rmasaki, MOREH Tamas, Akos Somorjai, Ed Brown, Viktor Kovacs, Mihály Palenik

User avatar
By poco2013
There was a previous topic in "Data Management" concerning Zones within zones. Archicad has no knowledge of any zones within zones either in schedules or in Python. However, this could possibly be done in Python using bounding box coordinates EXCEPT FOR ONE anomaly.

One can use the Python function of GetElementsRelatedToZones except that it does not pick up elements tagged as Equipment. That would include most Kitchen and Bath items. It does include any fixtures classified as Objects.

I believe this is because the function GetElementsByType will not return Equipment types even though Equipment and Objects are recognized as the same single type in Schedules.

If this is indeed a Bug or oversight, it should be corrected in 25. However, I might be wrong and there may be a second step to obtain Equipment in 24. SO i am asking the question- Is there another method to obtain Equipment GUIDs in Zones? All other elements such as Objects, windows, doors, walls, lamps, columns and beams seem to be relocatable within Zones in Python.

Need some Guidance??.

EDIT: I also note that objects like Basin Cabinet 24 are not returned in "acc.GetAllElements()"