Re: [Pythoncad-developer] Undo functionality
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: Matteo B. <mat...@bo...> - 2010-02-07 17:30:47
|
hi Gertwin, > The user can do undo steps in the current revision but not touch > anything in any older revision, older revisions are "read only" > We need to think very carefully about the implementation. may be a line could be in revision 1 released the new version need to change the line of 10 mm , so we have to take care of the old version and create a new version of the some line. so 2 record are ready for this entity This is an example of a line story .. step 1: create a new entity 01 - Line - 10,10,10,100 - 1 - Active step 2: release the version 1 of the drawing 01 - Line - 10,10,10,100 - 1 - Released step 3: Create a new version of the drawing (Version 2) and mark as old_Released the old version of the line 01 - Line - 10,10,10,100 - 1 - Old_Released 02 - Line - 10,10,10,110 - 2 - Active Regards, Matteo |