License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2025-05-28 02:58 PM
Hi, I've become somewhat reliant on using MVO in a lot of custom objects. I create most of my objects in AC27, I finally got around to working more in AC28 and I've noticed they've changed the MVO Macros. The typical LibraryGlobals13 I have been referencing is not in the archicad legacy objects, and has been renamed LibraryGlobals USA. I would like to keep everything compatible in AC27 without having to maintain two version of the custom objects. Is there anyway to have the objects reference either LibraryGlobals and return the correct value depending on which macro is loaded into the project?
Thanks!
2025-05-28 06:27 PM
Well I seem to have gotten it working by playing around with multiple success statement but it seems to be very finicky.
successB = libraryglobal ("LibraryGlobals13 USA", "iLSymbol", _req)
if successB > 0 then
iLSymbol = _req
else
iLSymbol = _reqILSymbolTemp
endif
successA = libraryglobal ("LibraryGlobals13", "iLSymbol", _reqILSymbolTemp)
if successA > 0 then
iLSymbol = _reqILSymbolTemp
endif
I would definitely appreciate if anyone has insight for a better way to do this. I also don't really understand the point of having a "legacy" LibraryGlobals but also change the name of it so that it doesn't work with any of the existing legacy objects, oh well.
2025-05-29 11:22 AM
it is the only way, especially with 28 where the old global is out, I did the checks in order to first check LibraryGlobals13 and then the dedicated windows/doors globals for INT/DE...for the same parameter...
2025-05-29 03:51 PM
I you load what they call the "28 Monolith Library", which is actually just the 27 library, it will have the old Library Globals.
the problem is it will also have all the old 27 library objects which you really won't want if you are loading the 28 library packs.
You could extract the 27 LCF and dig out just the Library Global parts and load those (add them into your office library)..
Barry.