Urgent - Mass scale Library Part reseting values

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-11 06:42 PM
I have a 2D object that have been replicated 100s of times per project on multiple projects, and all are put on the layouts.
The problem is that I had to make some minor modification to the object, but I have found out that due to object's programming schema, the changes would not take effect until I go through each object on each layout, to reset it values.
Is there a way I can reset he object's values on every layout with the need to go through all one by one? Like a mas reset to that specific object on all layout ?
Or do you have another solution ?

Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-12 04:17 PM
Moonlight wrote:So you have many instances of ‘object 1’ in your job.
But would loading and upload the library part from the project would reset it ??
They are all the same object but may have different parameter settings.
They all have the same GUID.
You create ‘object 2’ which has a new GUID.
This object contains the migration script that looks for the old GUID and then swaps it to the new GUID.
It can also set the values of any parameters so you can adjust existing parameter values or set new ones.
This migration script will only take effect object with the original GUID is missing from the loaded library, which is why you must delete it from your library (this includes the embedded library).
If it is still in there it will just load as normal and nothing will happen.
If it is missing, the migration script of the new object detects the missing objects and replaces them with the new one (and resets parameter values if you scripted that - new parameters will just take on the default values of the new object, but again you can define those as well if you want).
Barry.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-11 08:26 PM
If yes, I would select all of them and change one common parameter and check if the change sticks.
If not, I am afraid you will have to change one by one. At least groups of identical ones.
Make sure to backup your work.
Hope that helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-11 08:30 PM
It's GUID is maintained, but values of a parameter have been changed (
What is I need is how to reset values on all the instances of that specific object in all layouts ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-11 08:59 PM
In this case you will have to select one by one in each layout.
You could select one object > reset the values > eyedrop the parameters > inject it in identical ones > repeat

I'm afraid we have one more wish to the list.

Good luck.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-11 09:12 PM
Since the objects different versions have the same GUID, wouldn't deleting the object from the project library and then loading up again will force ArchiCAD to re-read the object without changing its parameters' values .... ??? like a forced refresh ?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-11 09:24 PM


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-12 01:58 AM
You have your original object with its own GUID.
You then use the migration scripts to swap it to a new object with a new GUID.
You can set default parameter values in the swapping process.
Make sure your original object is no longer in the loaded library and all placed instances of that object will swap to the new one with the default values that you set.
There are a few forum posts here somewhere if you are not familiar with migration.
Barry.
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-12 12:03 PM
But would loading and upload the library part from the project would reset it ??


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-12 04:17 PM
Moonlight wrote:So you have many instances of ‘object 1’ in your job.
But would loading and upload the library part from the project would reset it ??
They are all the same object but may have different parameter settings.
They all have the same GUID.
You create ‘object 2’ which has a new GUID.
This object contains the migration script that looks for the old GUID and then swaps it to the new GUID.
It can also set the values of any parameters so you can adjust existing parameter values or set new ones.
This migration script will only take effect object with the original GUID is missing from the loaded library, which is why you must delete it from your library (this includes the embedded library).
If it is still in there it will just load as normal and nothing will happen.
If it is missing, the migration script of the new object detects the missing objects and replaces them with the new one (and resets parameter values if you scripted that - new parameters will just take on the default values of the new object, but again you can define those as well if you want).
Barry.
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-12 04:32 PM
