p.edAddLink(ol.getOutputPort("evalSamples"),n.getInputPort("p1"))
p.edAddLink(n.getOutputPort("p1"),ol.getInputPort("evalResults"))
-.. _py_container_creation:
-
-Creation of the three type of containers
-''''''''''''''''''''''''''''''''''''''''
-
-To create a mono YACS container simply invoke::
-
- my_mono_cont=p.createContainer("MyMonoCont","Salome")
- my_mono_cont.setProperty("type","mono")
-
-To create a multi YACS container simply invoke::
-
- my_multi_cont=p.createContainer("MyMultiCont","Salome")
- my_multi_cont.setProperty("type","multi")
-
-To create a HP YACS container simply invoke::
-
- my_hp_cont=p.createContainer("MyHPCont","HPSalome")
-
.. _py_container:
Definition of containers
n3.getComponent().setContainer(c1)
+Since SALOME v7.5, there is a new type of container:
+*Homogeneous Pool of SALOME containers* (HP container).
+It is possible to create this type of container this way::
+
+ my_hp_cont=r.createContainer("MyHPCont","HPSalome")
+
+- "MyHPCont" : name of the container. Same result as my_hp_cont.setName("MyHPCont").
+- "HPSalome" : type of container. Possible values are "HPSalome" (for a HP container)
+ or "Salome" (for a classic container).
+
Node properties
'''''''''''''''''''''''''''
A property is added to an elementary or composite node (or is modified) using its setProperty method that has two