def assignModels(self): ''' assign 3d models to packages ''' dodajElement().exec_()
def Activated(self): dial = dodajElement() dial.packageName.setText(FreeCADGui.Selection.getSelection()[0].Package) dial.exec_()