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

Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

Global Variable gs_label_width

fuzzytnth3
Booster

I am bringing an old Archicad 11 Project back to life as we have been tasked with re-cladding the Building and so need to edit a lot of the original Details.

 

What I have discovered is that a Label object I made as a poor mans Keynote tool uses a couple of Global Variables to find out the size of the label within the MasterScript.

 

Now it seems since Archicad 22 this is a bad thing. The other problem is the variable I called doesn't appear in the current Archicad 25 GDL Guide which means I assume I need to find out its new name.

 

The two variables giving me the issue are...

gs_label_width

gs_label_height

 

Any idea what these variables are now called as I haven't found them in the manual yet?

Thanks

AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
3 REPLIES 3
fuzzytnth3
Booster

Oh argh, so my object was based on a Graphisoft Archicad 9 label object which I tweaked to suit what I wanted as it was good at handling changes of view scale and guess what it uses the variable "Glob_Scale" in the Master Script which the manual says you can't use as a parameter which obviously this label object does...

"I'm going to be sometime" as Captain Oates said

AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
DGSketcher
Legend

@fuzzytnth3 See if these pages help...

https://gdl.graphisoft.com/tips-and-tricks/labels-special-parameters

https://gdl.graphisoft.com/tips-and-tricks/new-parametrization-of-labels-for-archicad22

 

Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)

Thanks for those links. Looks like they could fix the problem. Fingers crossed.

AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics