I essence, the CWAPI is doing (complex) transformations on the internal database of Cadwork.
When a (complex) script has a bug and therefore an exception it is only partly executed and and I have only partial work, e.g. only 100 of 200 walls modified.
Is there the concept of a database transaction in CWAPI so that an automagically roll-back is done when a script is only partly executed? Or can I create a snapshot at the beginning of my script and switch back to this snapshot if my script fails (due to a bug in my script)?
I cannot create all my scripts idempotent.
Any hints welcome!
I essence, the CWAPI is doing (complex) transformations on the internal database of Cadwork.
When a (complex) script has a bug and therefore an exception it is only partly executed and and I have only partial work, e.g. only 100 of 200 walls modified.
Is there the concept of a database transaction in CWAPI so that an automagically roll-back is done when a script is only partly executed? Or can I create a snapshot at the beginning of my script and switch back to this snapshot if my script fails (due to a bug in my script)?
I cannot create all my scripts idempotent.
Any hints welcome!