Engines::Component_var comp = desktop->getEngine("FactoryServer", "SMESH");
smeshGUI->myComponentMesh = SMESH::SMESH_Gen::_narrow(comp);
- Engines::Component_var comp1 = desktop->getEngine("FactoryServer", "Geometry");
+ Engines::Component_var comp1 = desktop->getEngine("FactoryServer", "GEOM");
smeshGUI->myComponentGeom = GEOM::GEOM_Gen::_narrow(comp1);
/* GetCurrentStudy */
_NS->init_orb( _orb ) ;
SALOME_LifeCycleCORBA* myEnginesLifeCycle = new SALOME_LifeCycleCORBA(_NS);
Engines::Component_var geomEngine =
- myEnginesLifeCycle->FindOrLoad_Component("FactoryServer","Geometry");
+ myEnginesLifeCycle->FindOrLoad_Component("FactoryServer","GEOM");
GEOM::GEOM_Gen_var myGeomEngine = GEOM::GEOM_Gen::_narrow(geomEngine);
import geompy
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
myBuilder = salome.myStudy.NewBuilder()
from geompy import gg
def __init__(self):
try:
- self._geom = salome.lcc.FindOrLoadComponent("FactoryServer","Geometry")
+ self._geom = salome.lcc.FindOrLoadComponent("FactoryServer","GEOM")
self._smesh = salome.lcc.FindOrLoadComponent("FactoryServer","SMESH")
except:
MESSAGE( "exception in smeshpy:__init__" )
##def SmeshInit(shapeId):
## import salome
## import SMESH
-## geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+## geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
## smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
## shape = salome.IDToObject(shapeId)
## studyId = salome.myStudyId
# -----------------------------------------------------------------------------
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
myBuilder = salome.myStudy.NewBuilder()
ShapeTypeCompSolid = 1
# ---------------------------- GEOM --------------------------------------
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
myBuilder = salome.myStudy.NewBuilder()
#from geompy import gg
import geompy
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
myBuilder = salome.myStudy.NewBuilder()
from geompy import gg
import geompy
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
myBuilder = salome.myStudy.NewBuilder()
from geompy import gg
import geompy
-geom = salome.lcc.FindOrLoadComponent("FactoryServer", "Geometry")
+geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
myBuilder = salome.myStudy.NewBuilder()
from geompy import gg