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.

Forward Migration

Anonymous
Not applicable
Please can someone offer me some insight into how Forward Migration works and how to code it.
I have looked into it in the GDL reference Guide but can't really make out how to go about it.

Any help will be greatly appreciated.
Kind regards,
7 REPLIES 7
Anonymous
Not applicable
So essentially what I need to know is, when creating an object that will be updated down the line, do I need to do anything, do I need to Set a GUID or is that automatic and if so, how do I do it.

Sorry if this is a simple and annoying question but I am struggling here.
Thanks again.
No I wouldn't call it simple. On the contrary it's pretty advanced and doesn't concern most users, even most GDL people, judging by the very thin Google results, where your post was the top item.

Have you learned anything? I am just starting to look at this. I'm going to try to find some AC objects that have the Forward and Backward scripts and see what I can find out.
James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
Barry Kelly
Moderator
If you are modifying an object and doing a simple 'Save' so it has the same name and GUID then there should be no problem when you update this object.
Of course that depends on what you have changed in your scripts as to how it affects existing object instances.

If however you create a new object so it has a new GUID then this is when you can use the Forward Migration.
I don't know exactly how it works as I haven't used it but my understanding is that you can tell the new object to set parameters based on the values of the parameters in the old object. These parameters can be the same names or can be completely different - you can even base new parameter settings on combinations of old parameters.
It will then replace the old object with the new object.

I believe Graphisoft have used it when amalgamating something like multiple single door objects into a single door object with multiple options. I'm not 100% sure on this as I don't use their library.
But if you look in one of the Migration libraries you should find some examples.

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
That's a good summary, based on what I've learned. If you are careful with the GUIDs then you don't need it. The two cases it's needed are "un-forking" multiple objects into one, and handling new parameters where the default values wouldn't be acceptable in old instances.

The syntax of the script itself, combined with the thin explanation in the manual, makes for a challenging topic, but I've made some progress. I would like to use it to get rid of the old markers in the marker choosers.
James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
Laszlo Nagy
Community Admin
Community Admin
Hi James, it is great to see you here again. You have not posted in almost 5 years. People on the Forum are to this day turning to your blog posts for AC info.
Are you back for good?
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
I have questions, you have answers! Thank you Laszlo.
James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
Laszlo Nagy
Community Admin
Community Admin
Seems to me you too have quite a few answers on that blog.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27