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

Is there a unique ID that is common for each member of a Group?

gdford
Advisor

Archicad must keep track of grouped items someway.

Is there a unique ID that is common for each member of a group?

If so, then is this available to GDL.

 

Gary Ford
Self Employed - Modeling, Estimating, Construction
Archicad 12-26
AMD Ryzen 9 5900X 12-Core Processor
3701 Mhz, 12 Core(s), 24 Logical Processor(s)
(RAM) 128 GB
NVIDIA RTX A2000
2 REPLIES 2

Hi Gary,

I assume you mean element groups (as in: https://helpcenter.graphisoft.com/user-guide/76413/) and not GDL groups for solid geometry right? (e.g. http://gdl.graphisoft.com/reference-guide/solid-geometry-commands#ADDGROUP_gdlcommand)

In case you mean element groups, then there are GUIDs for element groups accessible with the Archicad C/C++ API. I don't think there's a way to handle (even retrieve) those GUIDs without writing an Add-On though. (Reference from the API docs: https://archicadapi.graphisoft.com/documentation/acapi_elementgroup_getgroup) In general the C++ API seems to be much better suited to handle such groups in comparison to GDL.

In case you mean sold geometry groups in GDL, then to me it seems more like a "local" variable which can be referenced by it's unique name, which you define yourself anyway. So I guess that's not what you mean 🙂

Bernd Schwarzenbacher - Archicad Add-On Developer - Get Add-Ons & Archicad Tips on my Website: bschwb.com

Thanks,

Yes I was talking about element groups.

I appreciate the information.

 

Gary Ford
Self Employed - Modeling, Estimating, Construction
Archicad 12-26
AMD Ryzen 9 5900X 12-Core Processor
3701 Mhz, 12 Core(s), 24 Logical Processor(s)
(RAM) 128 GB
NVIDIA RTX A2000