The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Everything about GDL - Doors/Windows/Objects/Stairs etc. (Example: I created an object that prints an error message in 3D all the time, please help!)

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, gkmethy, Gergely Feher

User avatar
By Moonlight
#305753
Hi There,

I would like to ask if I can use migration scripts for (if it's possible):
1. Migrate an older version of the object to the newer version knowing that both of them are using the same version of ArchiCAD ?
2. Migrate the older version subtype to the newer version subtype ?

Thank you in advance
#305760
1. Definitely. I do this all the time.

Migration is based on the GUID of the object.
If the 'old' object is in the job but no longer in the loaded libraries, then it will migrate to the 'new' object that is in the loaded library so long as you have set up the migration scripts properly.
If the 'old' object is still in a loaded library then the migration will not happen.

2. I have never tried, but I don't see why it can't change the subtype.
As mentioned it simply swaps an object with a particular GUID to another object.

Barry.