2025-05-16 05:31 PM - edited 2025-05-16 05:37 PM
I can request the list of all custom properties:
2025-05-16 09:38 PM
Just checking, are you creating a custom label or requesting the object's own properties?
2025-05-17 08:31 AM - edited 2025-05-17 08:33 AM
Yes, it's some kinda label, but an archicad object (not label-tool).
I can retrieve the gdl (standard / global) variables, but I just want to get the custom properties, too.
2025-05-17 08:38 AM - edited 2025-05-17 08:39 AM
Sorry, the answer above/below was also by me. (just missed the right browser)
2025-05-17 10:59 AM
If its not a Label it can not access custom properties.
2025-05-17 01:41 PM
As @runxel wrote, objects can’t access custom properties. The workaround is to create a custom IFC translator which maps the properties to IFC properties and these can then be queried with APPLICATION_QUERY command. I think the translator has to be set as preview translator.
2025-05-17 02:03 PM
Thanks.
2025-05-21 09:50 AM
The only way is to go around purely in GDL is: with save to txt the property (eg in ui script) and then load it in parameters script, but needs to be triggered.
2025-05-21 02:21 PM
Managed to implement your suggestion. Thanks! It works just fine.
Almost. Because you have to refresh the object to update properties (in some cases).
I can refresh them by selecting all the occurencies of the element on the active view, open & close the settings of the objects.
Do you know any other way to automatically refresh the objects?
2025-05-22 03:12 AM
'Rebuild & Regenerate' (CTRL + ALT + SHIFT + R on windows) is the most powerful rebuild command.
Not sure if that will update the properties or if you still need to open the object settings.
Barry.