mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 09:38:34 +05:00
NRI : Correction Module name.
This commit is contained in:
parent
3baf90a543
commit
15fed18c3e
@ -15,7 +15,7 @@ from time import sleep
|
|||||||
geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
|
geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
|
||||||
myBuilder = salome.myStudy.NewBuilder()
|
myBuilder = salome.myStudy.NewBuilder()
|
||||||
|
|
||||||
gg = salome.ImportComponentGUI("Geometry")
|
gg = salome.ImportComponentGUI("GEOM")
|
||||||
|
|
||||||
point0 = geom.MakePointStruct(0.,0.,0.)
|
point0 = geom.MakePointStruct(0.,0.,0.)
|
||||||
pointz1 = geom.MakePointStruct(0.,0.,1.)
|
pointz1 = geom.MakePointStruct(0.,0.,1.)
|
||||||
|
@ -17,7 +17,7 @@ geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
|
|||||||
geom.GetCurrentStudy(salome.myStudyId)
|
geom.GetCurrentStudy(salome.myStudyId)
|
||||||
myBuilder = salome.myStudy.NewBuilder()
|
myBuilder = salome.myStudy.NewBuilder()
|
||||||
|
|
||||||
gg = salome.ImportComponentGUI("Geometry")
|
gg = salome.ImportComponentGUI("GEOM")
|
||||||
|
|
||||||
father = salome.myStudy.FindComponent("GEOM")
|
father = salome.myStudy.FindComponent("GEOM")
|
||||||
if father is None:
|
if father is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user