cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.

master gdl - parameter folder

szabadi_gergely
Participant

Hi!

 

I developed many master GDL file previously, but i am thinking about arrangeing them in parameter folders, but i hadn't found any solution/option to script these folders and place the parameterst into them. 

Any idea?

thx

5 REPLIES 5
Laszlo Nagy
Community Admin
Community Admin

Where would these folder be located? Within the Embedded library, and master GDL files would be automatically placed into these folders within the Embedded library?

Or, are talking about arranging parameters in folders with Master GDL files or Library Parts?

Can you show the desired outcome in a screenshot or image?

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29
Barry Kelly
Moderator

Are your MASTER_GDL file creating attributes?

If so, please consider not using them at all - they are evil.

 

https://community.graphisoft.com/t5/Libraries-objects/Unwanted-Master-GDL-in-the-libraries/td-p/4003...

 

They can be a real problem for anyone trying to maintain a clean template.

 

Any objects that you create should use attributes already in the default Graphisoft template, so they will be compatible for most users.

 

If you really need to use them because you need an attribute that just doesn't exist in the default template, then that is fine.

Or you need to also provide the attributes so at least then users can add them to their templates with the index numbers that work for them.

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

We are using master_gdl files for years with success for creating attributes. 

Dear László!

 

I meant attributes folder, like a new folder for surfaces

Screenshot 2025-11-12 at 9.13.32.png

I know it can successfully create attributes, but you have no control over the attribute index numbers.

So if your objects are being used by other people, then this can cause problems with their files if they have a different attribute setup.

 

If you are using them solely for your own company, I think you are still better off creating actual attributes in your template that can be imported/exported to any other file.

Then you have full control over the attributes and their index numbers.

Just my opinion though.

Not necessary if you are happy as you are.

 

As for the folder structure.

As you are automatically generating the attributes from the MASTER_GDL, you have no control over where they go.

They will just generate in the main folder.

You could try moving them around in your template or files, but I am not sure if they will stay consistent depending on which MASTER-GDL files you load or modify.

 

If you import/export your MASTER_GDL attributes from one file to another, I am not sure if they then become real permanent attributes.

I do know if you file already contains an attribute with the same name, the MASTER_GDL will not create it (even if it is supposed to be different).

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11