We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.

Guid Issues after Migration

Arnaut_2604
Booster

Hi everyone.
Two years ago we edited the one of the GS doors to suit our needs a bit more.
When we did that we copied and renamed all Makros by adding TAS_ infront of it, thinking this would future proof it.
That worked fine throughout AC23 and 24 but we realised that in 25 the user interface got messed up.
Generally we just added some parameters on some pages but those are gone.

When I remove the Library 25 from the project the changes reappear when we open the object but when going into the object setting we're stuck on the same UI page.

I assumed it would be a GUID problem, so I opened up every Makro and saved it as a new object, which didn't help.

Any idea what this would be?

2 REPLIES 2
runxel
Legend

»It's macros all the way down!«

 

Have you really renamed every macro? Chances are, you did not. Every macro calls even more macros. I once tried to do a "mind map" or chart with what calls what by hand... impossible!

So if you still have AC 23 you'll need to go back and do it again, but this time a bit more in depth.

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
Arnaut_2604
Booster

Hi Runxel,

It took us some time but we've figured it out.

Originally in order to get all the macros we had in an empty file inserted only the door and then embedded the Library 23 and exported that after. Like that we had all the macros it used.

We then converted it to an XML and seached/replaced all Macro Names in Sublime text and added TAS_ infront.

This worked until recently.

Now to get it working again, I opened every makro and saved it as a new object to get a new GUID.
Since the object saves the GUID for the macro called originally this didn't work yet.

So we repeated the same process. Export the new macros as XML opened in Sublime Text and compared the GUID to see which we had to replace with which.

Was a bit complicated but now it works 🙂