From 538a5a27edad787c169b9a678fc1e62c897b9a81 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 29 Apr 2014 15:38:50 +0400 Subject: [PATCH] Update notebook.myStudy --- src/SMESH_SWIG/smeshBuilder.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index 778b72c3b..6e0812455 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -383,6 +383,9 @@ class smeshBuilder(object, SMESH._objref_SMESH_Gen): def init_smesh(self,theStudy,geompyD = None): #print "init_smesh" 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, # or a mesh wrapping a CORBA mesh given as a parameter. -- 2.39.2