4 weeks ago - last edited 4 weeks ago
I can request the list of all custom properties:
4 weeks ago
Just checking, are you creating a custom label or requesting the object's own properties?
4 weeks ago - last edited 4 weeks ago
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.
4 weeks ago - last edited 4 weeks ago
Sorry, the answer above/below was also by me. (just missed the right browser)
4 weeks ago
If its not a Label it can not access custom properties.
4 weeks ago
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.
4 weeks ago
Thanks.
3 weeks ago
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.
3 weeks ago
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?
3 weeks ago
'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.