GDL
About building parametric objects with GDL.
SOLVED!

Default variable not working

jc4d
Expert

Hello,

 

I made a copy of the Property Label 25 and set the AC_blabelFrame on and lock it, so it will be enable by default all the time. The problem is when I save that label to test it on a clean file. The frame checkbox comes unchecked which is not what I need.

 

That's not the right way to set a default?

 

This is how it looks before saving the label:

jc4d_0-1644497025064.png

 

 

And here is how it looks when I load that label into a new Archicad instance:

jc4d_1-1644497144353.png

 

Cheers.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Yves
Advocate

Hello,

 

With this line in the master script 😉

PARAMETERS AC_bLabelFrame = 1

Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13

View solution in original post

5 REPLIES 5

Unfortunately this parameter setting goes with the settings of the label You had settings open prior to loading Yours.

There are some parameters that cannot be set...and sometimes not even possible to hide...;(

 

Edit - I forgot of forcing it in master (because I did not test this one)

Ouch, not good. 😔

 

Thank you, I will unlock it then, there is no point to have it lock.

I had the same with sill depth in windows  😜

Solution
Yves
Advocate

Hello,

 

With this line in the master script 😉

PARAMETERS AC_bLabelFrame = 1

Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13

That's fantastic, thank you 😊