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.

Global Replace Object

Lingwisyer
Guru
Hi all,

Has a way to replace objects globally regardless of whether it is visible been implemented yet?



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
3 REPLIES 3
Barry Kelly
Moderator
I am not entirely clear on what you are trying to do.

You can use the Forward Migration script to swap an old object (that has to be deleted from your library for the swap to work) to a new one as soon as you open a file.
You can even set new parameters based on the old object settings as well.

It basically finds old objects with a particular GUID (that no longer exist in your loaded library) and swaps them for a new object, adjusting parameters if necessary to suit the old objects settings.

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
Lingwisyer
Guru
I have a object on my old layouts that I want to completely replace with something else. So I could temporarily add the GUID of the object I am wanting to replace to the Forward Migration Script of the new object? Hopefully I still have that objects somewhere...


Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Barry Kelly
Moderator
It doesn't have to be temporary.
It won't do any harm if it can't find the old object.

I think you will need to find the old part to determine the GUID - I don't think there is any other way.
The library loading report will not give this information for missing objects.

You also need to add the old GUID to the 'Migration' page in the object scripts.
There should be a couple of old posts here somewhere I have replied to if you need any help.
Or just ask here.

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