Just completed a snippet which changes the Default Value of some Definitions.
I used the function ACAPI_Property_ChangePropertyDefinition, however, that function failed. i seems it has to be wrapped in a undoable callback. ACAPI_callUndoableCommand.
As i look at the other examples in Property_Test none of the other functions need this call back, even to change the definition name.
Wondering why this particular restriction is necessary and is there any work around if I don't need to undo?
Gerry
Windows 11 - Visual Studio 2022; ArchiCAD 27