Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

FWD migration of zone stamp with the same version of ArchiCad

Palawat
Contributor
Hi all,
I'm working on a new version of zone stamp. The new version has new Main ID, almost every singular parameter has been changed to array. But the previous version and the new version are both ArchiCad 24.

In the GDL Ref. Guide, it states clearly that "The FWM script is executed when a project saved in an earlier version of ARCHICAD is opened in a later version...". So, that means that the FWD migration script won't run because both the previous and the new one of my zone stamp are on AC24. Am I understand it correctly?

If so, is there a work-around for this, to force the migration script to run? Or I'll have to wait until AC25 is released?

Thank you in advance.
Cheers,

Archicad 24 Solo, Windows 10, Corei7 3.4 GHz, 16 GB Ram.

https://www.indigofigs.com
https://www.facebook.com/indigofigs
1 ACCEPTED SOLUTION

Solution
Barry Kelly
Moderator
The forward migration script does work in the same version - I do it all of the time.
The trick I find is that the original object has t be deleted from the library.
If Archicad sees the original object, there will be no migration.
When it is not there, it looks at the migration scripts in all of the objects in the loaded library, and when it finds one that references the GUID of the missing object, it will substitute it, using the forward migration script you have set up in it (i.e. swapping and setting default parameter values).


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

View solution in original post

4 REPLIES 4

Laszlo Nagy
Community Admin
Community Admin
If this is so, then I have an idea of how you can circumvent it:
Place the Zone Library Part in the Embedded Library, and then save the Project File as AC23 PLN. Library Parts in the Embedded Library are converted back to the previous version as well.
Then, the Forward Migration Script will surely run because it is indeed an AC23 Library Part.

Let me know if this does the trick.
....................................................................................................
Laszlo Nagy, Lead Moderator, Community Admin
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC25
Loving Archicad since 1995

Palawat
Contributor
Thank you very much, Laszlo, for your idea. I've just tested it, with no success though. Here are what I did ;
  • Open Library Manager > Embed placed objects of selected library > Enable the "Also embed textures, zone stamps,..."
  • Save as 23 project(.pln) > Enable the "Convert library objects backward"
  • Close the current 24 project file
  • Open the 23 file with AC24 > Select "Migrate ARCHICAD libraries"
  • Open Library Manager > Open the Embedded Library
And...this is where I stucked. Simply deleting and adding a new version of the zone stamp into Embedded Library doesn't work (and shouldn't work). Adding a new Linked Library contain the new version of zone stamp ended up with dupplicated warning and the placed zone stamps are still on the old version, which is also make sense 'caluse it's still in the Embedded Library.

Maybe it's just a lesson learnt. "Don't change anything mid version."
Cheers,

Archicad 24 Solo, Windows 10, Corei7 3.4 GHz, 16 GB Ram.

https://www.indigofigs.com
https://www.facebook.com/indigofigs

Solution
Barry Kelly
Moderator
The forward migration script does work in the same version - I do it all of the time.
The trick I find is that the original object has t be deleted from the library.
If Archicad sees the original object, there will be no migration.
When it is not there, it looks at the migration scripts in all of the objects in the loaded library, and when it finds one that references the GUID of the missing object, it will substitute it, using the forward migration script you have set up in it (i.e. swapping and setting default parameter values).


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

View solution in original post

Palawat
Contributor
Yes! Thank you so much, Barry. It does work!

I just created a quick simple zone stamp with similar FWD migration script structure (with only one parameter changed in array), and ... it work beautifully. So that means it's just me that did something silly without knowing it again. Time to find out now.

Again, thank you very much.
Cheers,

Archicad 24 Solo, Windows 10, Corei7 3.4 GHz, 16 GB Ram.

https://www.indigofigs.com
https://www.facebook.com/indigofigs

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!