import SALOMEDS
import SALOMEDS_Attributes_idl
+import PYHELLO_ORB
+
################################################
# module name
__MODULE_NAME__ = "PYHELLO"
# --- get PYHELLO engine ---
def _getEngine():
- import PYHELLO_ORB
engine = lcc.FindOrLoadComponent( "FactoryServerPy", __MODULE_NAME__ )
return engine
attr = builder.FindOrCreateAttribute( father, "AttributeLocalID" )
attr.SetValue( __MODULE_ID__ )
try:
- ### The following line is commented because it causes crashes ! ###
- ### builder.DefineComponentInstance( father, _getEngine() )
+ builder.DefineComponentInstance( father, _getEngine() )
pass
except:
pass