We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-09-22 08:47 PM - last edited on 2024-09-09 11:16 AM by Doreena Deng
Hello!
Is there any way for a zone to know the coordinates of the surrounding walls' surface polygons openings included?
Best wishes to y'all!
2021-09-23 01:27 AM
Have a look at the accessories addon.
It adds some subtypes, the one you're after is "GDL/Model Element/Building Element/Covering/Wall (Accessory)". That in turn adds some parameters that Archicad populates, you'll be looking for "ac_side_poly", "ac_top_poly" ect...
Now from memory they are an array of coordinates, but beware, last time I tried to utilise them I found them a little unreliable (when the wall connects to others it can get confused and the poly points don't necessarily remain true to what is happening to the wall). Though they may have fixed this, I don't think they have. Last I heard they stopped supporting the accessories many number of versions ago. Unfortunately I don't know of any other option aside from paying for something like cad image (they have invested some time into the back end of how accessories work to alleviate these sorts of issues I think) but it's all locked up so you can't develop your own parts on top of this. James Hardie used to have some parts that used the standard accessories I think too.
Good luck.
2021-10-12 10:18 AM - last edited on 2021-10-12 11:20 AM by Barry Kelly
Thank you very much JaseBee!
What I'm after does indeed involve the accessories addon: I'm trying to get a room accessory object to "inherit" the wall information from the zone it is linked to. It would seem logical to me that the zone should be able to "read" the geometry of the walls since it does so already to a certain extent. However, I have no knowledge of C++, so I'm banging my head against the wall in the dark : ) Are you saying that it should be possible?
2021-10-13 05:46 AM
Yeah, as soon as you start wanting one object to talk to the other it gets tricky. I've had some success with test objects writing parameters out to text files and reading back in with GDL. I (like yourself) have no C++ skills to jump into addon creation and whatnot. I would expect it could be possible, but if you're only using GDL writing out and back in is the only way (I know of, would be happy to be wrong).