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.

Update parameters of placed objects...how2?

Mats_Knutsson
Advisor
Hi,
I've got a door object as .lcf and I want to change a parameter value (array values) so I extract the .lcf and modify the object and then I save the object under the same name and finally create a new .lcf with the same name as before. When I create a new project everything is fine and the object has correct values. Howevere all objects placed before the modofication don't change. I've tried deleting the .lcf before adding the new .lcf but I haven't managed to get thenew values in the already placed objects. Is there a way or is it a gdl-"problem"?
/Mats
AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
1 REPLY 1
Barry Kelly
Moderator
All placed instances of your object will remember the original value of the parameter.
All you are doing when you edit the object is changing the default for new instances.

You can select all objects in the model and change the parameter in the object settings. You will need to do this for every file you have if you want them to change as well.

Or if you want to make it a permanent change for all existing objects in all jobs then you need to 'Save As' to create a new object but also include a Migration script which looks for the old GUID number.
Then you tell it to change the parameter to the value you want and then set to the new GUID of the new object.
You have to delete the old object from your library so the new one will replace it automatically (otherwise the automatic migration will not occur and the old object will remain).

The problem with this is if you have changed the parameter of placed instances deliberately for your model, then the new object will replace it and set the parameter to the new default as set in the object.
You can get around that to by altering the migration script a little so that if the original parameter does equal the old default value then change to the new default value, otherwise don't change it.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11