SALOME documentation central

Loading PYHELLO component

The PYHELLO_ORB module has to be imported before making a request to load the component into the container, to obtain access to methods of the component. This container is made accessible in the runSalome.py by means of the container variable:

>> import PYHELLO_ORB
>> c=container.load_impl("PYHELLO","PYHELLO")
>> c.makeBanner("Christian")

The last instruction returns a string "Hello Christian". Proceed as follows to see the CORBA objects created by these actions:

>> clt.showNS()

<< Previous
>> Next


Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS