We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.

List macros

Anonymous
Not applicable
Hi!

I would like to create an Archicad list. I have many object which has unique IDs as a parameter. I would like to list these IDs, but this .gsm's are used as a macro. Is there any way that the Archicad list finds the macro object and return these IDs?

for example:

item01.gsm
parameter list:
parameter: CatNo (string) Value: A1

item02.gsm
parameter: CatNo (string) Value: A2

MASTER_ITEM

call "Item01" parameters all
call "Item02" parameters all

I will place in Archicad this master item, which use some other parts and I would like to list the IDs of the parts.... no idea how....maybe impossible??

I don't want to return parameters from the macros. I would like to list macros, as separate items....maybe it is not a GDL topic..sorry
1 REPLY 1
Peter Baksa
Graphisoft
Graphisoft
No, macro parameters can't be listed this way. Only the placeable object's parameters will be shown in IES.

This could be done with property scripts, or returning the ids in the parameter script and the master object storing them in a parameter.
Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest