cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

GDL
About building parametric objects with GDL.
SOLVED!

Defining values of ArchiCAD propoerties through a GDL script

PeterPetersen
Booster

Is it possible to set ArchiCAD property values through a GDL script? E.g. I am creating a library of objects, where I want to include information about the Manufacturer, Product Name and Article No. 

All these are preset ArchiCAD properties. 

So far I could only get these included in the Description tab of each object, but I cannot link these with properties. 

 

GDL.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Barry Kelly
Moderator

An Archicad object (GDL) does not have properties - only parameters.

Only a placed instance of that object has properties base on its classification.

 

And a property can not read object parameters unfortunately so you can't create an expression to read an object's parameter.

 

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

View solution in original post

4 REPLIES 4
Solution
Barry Kelly
Moderator

An Archicad object (GDL) does not have properties - only parameters.

Only a placed instance of that object has properties base on its classification.

 

And a property can not read object parameters unfortunately so you can't create an expression to read an object's parameter.

 

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

Thanks Barry, you saved me quite some time trying. 

Xandros
Expert

As Barry mentioned, it's not possible to convert GDL parameters into properties.

But there's a possibility to convert those into ifcValues, which you can label / put them together in a schedule / export to ifc.

 

I'm a bit lazy to translate, but since your screenshot is in german, here's an old forum post in german explaining the steps:

https://community.graphisoft.com/t5/Modellierung/Etikett-f%C3%BCr-Stahlbauteile/m-p/561870/highlight...

 

And there's a video (also in german) by @Lukas Oelmueller that covers the topic:

 

ArchiCAD 27 GER / Win10
Intel i9-9900K / 64GB RAM / nVidia GeForce RTX 2080 Ti
kuvbur
Enthusiast

You can read property with addon ttps://github.com/kuvbur/AddOn_SomeStuff 

Structural engineer, developer of free addon for sync GDL param and properties

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!