def slotCreatedDocument(self, doc): from importGDML import processGDML processGDML(doc,FreeCAD.getResourceDir() + \ "Mod/GDML/Resources/Default.gdml")
def slotCreatedDocument(self, doc): import os, sys global GDML_WB_resources_path from importGDML import processGDML processGDML(doc, os.path.join(GDML_WB_resources_path, 'Default.gdml'))
def processDefault(doc): from importGDML import processGDML processGDML(doc,FreeCAD.getResourceDir() + \ "Mod/GDML/Resources/Default.gdml")