Added SaveCopy command

This command saves a copy of the current document under a new name,
without modifying the document itself.

Available in menu File -> Save a Copy or from python with
FreeCAD.ActiveDocument.saveCopy(filename)
This commit is contained in:
Yorik van Havre
2015-09-02 13:38:14 -03:00
parent 3b433256e6
commit e122ea8bf7
9 changed files with 113 additions and 2 deletions

View File

@@ -23,6 +23,11 @@
<UserDocu>Save the document under a new name to disk</UserDocu>
</Documentation>
</Methode>
<Methode Name="saveCopy">
<Documentation>
<UserDocu>Save a copy of the document under a new name to disk</UserDocu>
</Documentation>
</Methode>
<Methode Name="load">
<Documentation>
<UserDocu>Load the document from the given path</UserDocu>