Added a message that reminds users to do a save-as on the script template after opening it.

This commit is contained in:
Jeremy Mack Wright 2017-10-04 06:58:58 -04:00
parent d89b261cf7
commit 98da3e9c9b

View File

@ -225,6 +225,8 @@ class CadQueryNewScript:
# Use the library that FreeCAD can use as well to open CQ files
ImportCQ.open(os.path.join(templ_dir_path, 'script_template.py'))
FreeCAD.Console.PrintMessage("Please save this template file as another name before creating any others.\r\n")
class CadQueryOpenScript:
"""CadQuery's command to open a script file."""