mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 18:00:34 +05:00
Update notebook.myStudy
This commit is contained in:
parent
a13c835567
commit
538a5a27ed
@ -383,6 +383,9 @@ class smeshBuilder(object, SMESH._objref_SMESH_Gen):
|
|||||||
def init_smesh(self,theStudy,geompyD = None):
|
def init_smesh(self,theStudy,geompyD = None):
|
||||||
#print "init_smesh"
|
#print "init_smesh"
|
||||||
self.SetCurrentStudy(theStudy,geompyD)
|
self.SetCurrentStudy(theStudy,geompyD)
|
||||||
|
if theStudy:
|
||||||
|
global notebook
|
||||||
|
notebook.myStudy = theStudy
|
||||||
|
|
||||||
## Creates a mesh. This can be either an empty mesh, possibly having an underlying geometry,
|
## Creates a mesh. This can be either an empty mesh, possibly having an underlying geometry,
|
||||||
# or a mesh wrapping a CORBA mesh given as a parameter.
|
# or a mesh wrapping a CORBA mesh given as a parameter.
|
||||||
|
Loading…
Reference in New Issue
Block a user