Replies: 2 comments
-
Basically, you would use the undo framework provided by doc->NewCommand();
// Make some modifications to the document, eg import file, create primitive shapes, ...
doc->CommitCommand(); Undo the recorded changes: if (doc->Undo())
doc->CommitCommand(); Redo after call to Undo(): if (doc->Redo())
doc->CommitCommand(); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks a lot! This is the exact information I was looking for. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Sir:
First! Thanks for developing the wonderful cad viewer mayo, it it really a very good software!
If possible, could you please kindly help to provide some details regarding how geometries can be undo/ redo in mayo using occ interfaces? This would be helpful for some simple geometry creatations and undo/redo (such as sphere etc).
Beta Was this translation helpful? Give feedback.
All reactions