PythonPart transaction

The creation of the elements in the Allplan model takes place within the interactor PythonPart with the

The transaction class executes a transaction inside Allplan including

  • the creation/modification of the elements in the Allplan model

  • the rearranging of the reinforcement position numbers (optional)

  • the creation of a connection between existing elements and the PythonPart (optional)

  • the creation of the undo step

For a complete usage of PythonPartTransaction, see the example

…\etc\Examples\PythonParts\InteractorExamplesGeneral\ModelPolygonExtrudeInteractor.pyp
…\etc\PythonPartsExampleScripts\InteractorExamplesGeneral\ModelPolygonExtrudeInteractor.py