Hello,
I have a XML that generates 2 sources with vtkPythonProgrammableFilter class (The sources are named “SOURCE_1” and “SOURCE_2”). Now, I want to call either SOURCE_1 or SOURCE_2 in another Proxy (Named “SOURCE_MAIN”) but I can’t find the way. Do you have any suggestion?
Thanks in advance
Miguel
PS: please, find the XML in the attached file
TEST_PROXY.xml (1.0 KB)
<ServerManagerConfiguration>
<ProxyGroup name="sources">
<SourceProxy name="SOURCE_1" class="vtkPythonProgrammableFilter">
<IntVectorProperty
name="DataInput1"
command="SetParameter"
initial_string="DataInput1"
number_of_elements="1"
default_values="1">
</IntVectorProperty>
</SourceProxy>
<SourceProxy name="SOURCE_2" class="vtkPythonProgrammableFilter">
<DoubleVectorProperty
name="DataInput2"
command="SetParameter"
initial_string="DataInput2"
number_of_elements="1"
default_values="0">
<DoubleRangeDomain name="range" min="0.0" max="1.0" />
</DoubleVectorProperty>
</SourceProxy>
<SourceProxy name="SOURCE_MAIN" class="vtkPythonProgrammableFilter">
<ProxyProperty>
<ProxyListDomain name="proxy_list">
<Proxy group="sources" name="SOURCE_1" />
<Proxy group="sources" name="SOURCE_2" />
</ProxyListDomain>
</ProxyProperty>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>