We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-10-06 03:42 PM - last edited on 2024-09-09 11:13 AM by Doreena Deng
Hallo all,
When I creat a new Parameter (para1) inside an existing object it has a default value. Let's say the value is "".
now I change the value of the parameter in the Masterscript, then write in the Parameter script (Parameters para1 = Parameters para1)
the value doesn't change unless I run the Parameter script for all the objects so that the value changes.
Is there a way to avoid runing the Parameter script when I creat a new Parameter in an existing object with a value calculated from the master script?
Because there are thausends of objects and hundreds of files. when I run the parameter script it works, but it takes a lot of time.
best regards
2021-10-06 04:00 PM
If the objects are placed then if You update the object and add some parameter, after relading libraries in the project they will get the default value as You edited. The problem is with existing parameter and if the default is changed...
2021-10-07 03:34 AM - edited 2021-10-07 03:37 AM
Change the name of the parameter, probably breaking the object. Propagate the change. Fix the name with the new default value. Propagate the fix? Though now you are spending all the time reloading libraries which you could have spent selecting all and manually changing the values...
Though, if the value is calculated in the Master Script, what the parameters list shows is not relevant anyway and has no effect on the output?
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2021-10-07 02:29 PM
Only the parameter script can set parameters, so no.
You can manually trigger a parameter script run on all placed objects with the Library Developer menu command Run Parameter Script on Placed Library Parts.
The parameter script is also run after forward migration.
This way the old placed objects will be migrated to the new when loading the new library part. You don't have to open each file, but the users have to manually add the new library part in library manager.