2022-04-05 07:19 PM
I am trying to tweak the marker Detail Marker 01 25 in the USA library. This library part has only a Master Script, which contains only a macro call for BaseMarker_macro. All the action takes place in that macro; there are no further calls from any script.
I would think I could save as to create both BaseMarker_macro_JM and Detail Marker 01 JM, and modify the marker object to call my new macro instead.
This done, with precisely zero changes to any script, the new marker starts reporting errors from all scripts:
To reiterate: This is after a pure save as, no changes except the new macro name in the caller.
What's going on here, what am I missing, how do I fix it? Any help would be appreciated.
2022-04-12 02:33 PM
As runxel wrote, macro calls are identified by a GUID (well, if they are compiled correctly from source code). Here is some explanation: https://gdl.Graphisoft.com/gdl-style-guide/library-part-format
Migration libraries need the old versions of a macro, they can't work with the newest if the parameters have changed.
Currently the best way to check which library part is opened is the Open Object button's dropdown list of the "Edit GDL Library Parts" toolbar, it shows the URI of the selected item in the status bar. Sadly it doesn't work correctly in AC24-25, but that will be fixed.