mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 01:30:36 +05:00
Update notebook.myStudy to avoid problem with the bad reference to the
SalomeDS study during update study from the notebook.
This commit is contained in:
parent
15ea376466
commit
25190caa5f
@ -729,6 +729,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
self.myStudyId = self.myStudy._get_StudyId()
|
||||
self.myBuilder = self.myStudy.NewBuilder()
|
||||
self.father = self.myStudy.FindComponent("GEOM")
|
||||
notebook.myStudy = theStudy
|
||||
if self.father is None:
|
||||
self.father = self.myBuilder.NewComponent("GEOM")
|
||||
A1 = self.myBuilder.FindOrCreateAttribute(self.father, "AttributeName")
|
||||
|
Loading…
Reference in New Issue
Block a user