Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

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

gdford
Contributor

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-25
Win 10 - ASUSTeK Zephyrus M GU502GV - 64 bit
Intel(R) Core(TM) i7-9750H CPU @ 2.60 GHz
16.0 GB ram
2 REPLIES 2

bschwb
Booster

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
Self-Employed Archicad Add-On Developer
AC 24-25, VS 2019

Thanks,

Yes I was talking about element groups.

I appreciate the information.

 

Gary Ford
Self Employed - Modeling, Estimating, Construction
Archicad 12-25
Win 10 - ASUSTeK Zephyrus M GU502GV - 64 bit
Intel(R) Core(TM) i7-9750H CPU @ 2.60 GHz
16.0 GB ram

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!