class LatticeWorkbench (Workbench): MenuText = 'Lattice' def Initialize(self): import FuseCompound commandslist = FuseCompound.exportedCommands self.appendToolbar('Lattice', commandslist) self.treecmdList = ['importPart', 'updateImportedPartsCommand'] #FreeCADGui.addIconPath( '' ) #FreeCADGui.addPreferencePage( '','Lattice' ) self.appendMenu('Lattice', commandslist) def Activated(self): pass Icon = """ /* XPM */ static const char *test_icon[]={ "16 16 2 1", "a c #000000", ". c None", ".....#.....#....", ".....#.....#....", ".....#.....#....", ".....#.....#....", "################", ".....#.....#....", ".....#.....#....", ".....#.....#....", ".....#.....#....", "################", ".....#.....#....", ".....#.....#....", ".....#.....#....", ".....#.....#....", "................", "................"}; """ Gui.addWorkbench(LatticeWorkbench())