self.num=1
self.__selectedMesh=None
- # complex whith QResources: not used
+ # complex with QResources: not used
# The icon are supposed to be located in the $SMESH_ROOT_DIR/share/salome/resources/smesh folder,
# other solution could be in the same folder than this python module file:
# iconfolder=os.path.dirname(os.path.abspath(__file__))
newLink=monStudyBuilder.NewObject(SOMesh)
monStudyBuilder.Addreference(newLink, newStudyIter)
- if salome.sg.hasDesktop(): salome.sg.updateObjBrowser(0)
+ if salome.sg.hasDesktop(): salome.sg.updateObjBrowser(False)
self.num+=1
return True
ACmt = myBuilder.FindOrCreateAttribute(myObject, "AttributeComment")
ACmt.SetValue(datai)
- if salome.sg.hasDesktop(): salome.sg.updateObjBrowser(0)
+ if salome.sg.hasDesktop(): salome.sg.updateObjBrowser(False)
self.num += 1
if verbose: print("save %s in Object Browser done: %s\n%s" % (name, myObject.GetID(), datai))
return True
notebook.set("MGCleaner_%i" % self.num, data)
"""
- if salome.sg.hasDesktop(): salome.sg.updateObjBrowser(0)
+ if salome.sg.hasDesktop(): salome.sg.updateObjBrowser(False)
self.num += 1
if verbose: print("save %s in Object Browser done:\n%s" % (name, data))
return True