-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: how to use Memory Transactions to rollback/undo #425
Comments
Thanks, we are glad you like the Toolkit. These methods are used internally my IModel implementations and by IPersistEntity implementations. They are used to store actions so that the transaction as a block can be rolled back. You can obviously use it to manage your own actions as well. What do you need to achieve? |
Hey Martin, consider following extention method in which I replace the OuterBound of a IIfcFace object with a new once.
|
You can do that. |
The question was how? |
You can't undo the committed transaction. But you can keep the reference to the transaction and call |
Xbim.IO.Memory.Transaction class
Does anyone have an example of how to use the methods: Undo/Redo/DoReversibleAction?
Thanks for the wonderful job!
The text was updated successfully, but these errors were encountered: