Code: Select all
During initialization the error name 'FreeCADGui' is not defined occurred in /home/philip/.FreeCAD/Mod/OSM-Buildings/InitGui.py
Code: Select all
import FreeCAD, FreeCADGui
...
Code: Select all
During initialization the error name 'FreeCADGui' is not defined occurred in /home/philip/.FreeCAD/Mod/OSM-Buildings/InitGui.py
Code: Select all
import FreeCAD, FreeCADGui
...
Code: Select all
import dynamicdatawb_locator
dynamicdataWBPath = os.path.dirname(dynamicdatawb_locator.__file__)
dynamicdataWB_icons_path = os.path.join(dynamicdataWBPath,'Resources','icons')
global main_dynamicdataWB_Icon
main_dynamicdataWB_Icon = os.path.join(dynamicdataWB_icons_path , 'DynamicDataLogo.svg')
Code: Select all
import FreeCADGui as Gui
Code: Select all
FreeCADGui.Selection.getSelection()
Code: Select all
Gui.Selection.getSelection()