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.

How to get a scripted value update the variable value

Anonymous
Not applicable
I'm just wondering how I get a scripted value (a combination of a element ID, zone number etc.) to update the value of the variable so I can get it to schedule?

Any help greatly appreciated, Thanks.
5 REPLIES 5
Anonymous
Not applicable
Hi Phil,

I'm not sure of what you are trying to achieve...

Could you please elaborate it?...
David Larrew
Booster
If you want to pull a value from an Object to schedule with the IS, you need to use the "PARAMETERS" command to fill in the desired value into a parameter field. Unfortunately, the parameter field will not update until you activate (open) the Object to allow for the values to update the parameter field. So the scheduled field will sometimes seem to not update.
David Larrew, AIA, GDLA, GSRC

Architectural Technology Specialist

a r c h i S O L U T I O N S



WIN7-10/ OSX 10.15.7

AC 5.1-25 USA
Anonymous
Not applicable
David,

Thats exactly what i was trying to do, had had a quick play with the PARAMETERS command but obviously gave up to quickly, working well now. Thanks

Any chance you have found a cunning way to get the Parameter field to update automatically or with a plan refresh like the 2D symbol?
Having to open each individual instance of the object to get the correct value through to the IS is quite a pain. Takes all the fun out of what i was trying to do..
Anonymous
Not applicable
Hello,

This has been discussed many times before, but here it is again;

If you have only the PARAMETERS command then you are updating only the setting/user value of the object, not the value for the rest of the GDL. This especially is the case if the command is placed in the value script and not in the master script.

So might be worth testing to;
- place the script in the master script AND
- declare the value before setting the user value
myParam =  5
parameters myParam= myParam
Hope this helps.

Regards, Juha
David Larrew
Booster
Juha is correct. But if you are collecting data (integer or text) that is dependent upon multiple parameters (scripted or not) will have inconsistent IS listing results. This happens because the object requires the settings dialog to be activated (opened) to update the sequenced parameter values.
David Larrew, AIA, GDLA, GSRC

Architectural Technology Specialist

a r c h i S O L U T I O N S



WIN7-10/ OSX 10.15.7

AC 5.1-25 USA