a month ago
Hello,
there is the option to delete attributes and also to createthem in the Python APY but when deleting and creating another Attribute is showing missing attributes in the elementes and also in the standard Tool preferences in Archicad.
Is there the option to Delete and Replace in Python?
I only know the command "deleteAttributes"
Thanks
Gabriel
Solved! Go to Solution.
a month ago
Yeah, that's severely missing and would make the experience nicer.
However the Python API can only tap into the regular C++ API – and I don't see anything in there that could be useful. There is only the same "ACAPI_Attribute_Delete()" function.
So I wonder how AC is doing it. Private API? Or just a lengthy workaround where all references to this attribute are updated manually?
a month ago
Yeah, that's severely missing and would make the experience nicer.
However the Python API can only tap into the regular C++ API – and I don't see anything in there that could be useful. There is only the same "ACAPI_Attribute_Delete()" function.
So I wonder how AC is doing it. Private API? Or just a lengthy workaround where all references to this attribute are updated manually?
a month ago
And it's also missing the possibility to Re-Index attributes ... it would be equally important to have this option
3 weeks ago
I created this Wish
Python Attribute Editing // Add ability to Reindex... - Graphisoft Community
Maybe you want to vote to avoid it ending in the depths of the forgotten wishes 😉
3 weeks ago
You should make a wish on the tapir (open source addon) part too: https://github.com/ENZYME-APD/tapir-archicad-automation/issues
Python is not actively developped by Graphisoft at the moment, only Tapir is proposing new commands for python/json.