Drawing: print message indicating that it is obsolete
This commit is contained in:
@@ -5,6 +5,7 @@ if(BUILD_GUI)
|
||||
endif(BUILD_GUI)
|
||||
|
||||
set(Drawing_Scripts
|
||||
README.md
|
||||
Init.py
|
||||
DrawingExample.py
|
||||
DrawingTests.py
|
||||
|
||||
@@ -24,3 +24,6 @@
|
||||
#* *
|
||||
#* Juergen Riegel 2002 *
|
||||
#***************************************************************************/
|
||||
|
||||
FreeCAD.Console.PrintLog("Drawing became obsolete in 0.17; "
|
||||
"consider using TechDraw instead.\n")
|
||||
|
||||
@@ -41,6 +41,11 @@ class DrawingWorkbench (Workbench):
|
||||
def Initialize(self):
|
||||
# load the module
|
||||
import DrawingGui
|
||||
|
||||
def Activated(self):
|
||||
FreeCAD.Console.PrintWarning("Drawing became obsolete in 0.17; "
|
||||
"consider using TechDraw instead.\n")
|
||||
|
||||
def GetClassName(self):
|
||||
return "DrawingGui::Workbench"
|
||||
|
||||
|
||||
3
src/Mod/Drawing/README.md
Normal file
3
src/Mod/Drawing/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Development of the Drawing Workbench stopped in FreeCAD 0.16, and it became obsolete in FreeCAD 0.17, when the TechDraw Workbench was introduced.
|
||||
|
||||
The Drawing Workbench is no longer maintained. It is kept in the source tree for compatibility purposes, although there is no guarantee that it will continue working in future versions of FreeCAD. Eventually it may be removed completely.
|
||||
Reference in New Issue
Block a user