From 98da3e9c9bc8ee8395dcf3efa0018c17e096956a Mon Sep 17 00:00:00 2001 From: Jeremy Mack Wright Date: Wed, 4 Oct 2017 06:58:58 -0400 Subject: [PATCH] Added a message that reminds users to do a save-as on the script template after opening it. --- Gui/Command.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Gui/Command.py b/Gui/Command.py index 4a558eb..c217cb9 100644 --- a/Gui/Command.py +++ b/Gui/Command.py @@ -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."""