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

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Fixing a Symbol

Anonymous
Not applicable
Hello, everyone.
Now I'm trying to go a little deeper in custom object creation. I am not pretending to become like a GDL master or anything like that, I just want to learn some basic features that could help me in my day do day. I have seen a few videos and read a few pages about GDL, but now I don't know how to get this to work.
I made this symbol using the regular method of drawing with lines and fills and then select, save as object. But now I can't change the pen of the circle, meaning even if I change it will remain the same pen.
Here are some screenshots to explain.

How can I make this possible?
And other thing is how can I make a multiple symbol, I know already that I can draw my symbols in the 2D symbol window and use the layers for calling them later, but how can I tell to the 2D to call each one?
Thanks! and links to where I can learn about this basic things will be really appreciate it.

Symbol.JPG
6 REPLIES 6
Anonymous
Not applicable
Here is a view of the 2D script
Script 1.JPG
Anonymous
Not applicable
And here a view of the parameters
Parameters.JPG
Anonymous
Not applicable
arqrivas wrote:
.. But now I can not change the pen of the circle ...
In the 2D script is no error and can not be. It's some kind of bug.
Example.gif
David Maudlin
Rockstar
arqrivas wrote:
But now I can't change the pen of the circle, meaning even if I change it will remain the same pen.
Here are some screenshots to explain.
In your 1st screen shot, it looks like the circle pen is the same color as the parameter's pen, so I can't see the issue (the 2D Script looks ok). It would be helpful to zip and attach the object for others to play with.
arqrivas wrote:
And other thing is how can I make a multiple symbol, I know already that I can draw my symbols in the 2D symbol window and use the layers for calling them later, but how can I tell to the 2D to call each one?
In the GDL Reference Guide, look at the FRAGMENT2 command. You will need to add some IF - THEN statements to call specified Fragments from the 2D Symbol window based on parameters, like a VALUES list (this is placed in the Parameter Script). Ultimately it is better to script rather than draw 2D symbols, but learning GDL comes in small steps.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
Thanks David and SL!
I played around and finally found out what is happpening. The problem is not in the symbol but in the project I'm working, I try the symbol in a new file and it works. So probably the bug is in the file not the symbol.
In the GDL Reference Guide, look at the FRAGMENT2 command. You will need to add some IF - THEN statements to call specified Fragments from the 2D Symbol window based on parameters, like a VALUES list (this is placed in the Parameter Script).
Thanks for that information, I'll read about it to learn, but that is what I needed.
Ultimately it is better to script rather than draw 2D symbols, but learning GDL comes in small steps.
Yes, is not so easy it needs time to learn and use effective. Anyway I don't wanna go to deep. BTW is there any documentation (book, tutorial, website, PDF) about learning practical and simple things in GDL?
David Maudlin
Rockstar
arqrivas wrote:
BTW is there any documentation (book, tutorial, website, PDF) about learning practical and simple things in GDL?
There is a book by David Nicholson-Cole, GDL Cookbook, which is floating around the internet in pdf form, there should be links somewhere on this forum or maybe a general internet search will find it. It has not been updated for a while, but is a good basic primer. Others may have more suggestions.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14