# Call an existing Source from another Proxy

**URL:** https://discourse.paraview.org/t/call-an-existing-source-from-another-proxy/9525
**Category:** ParaView Support
**Tags:** python
**Created:** [April 27, 2022, 2:49pm UTC](https://discourse.paraview.org/t/call-an-existing-source-from-another-proxy/9525 "2022-04-27T14:49:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [April 27, 2022, 2:49pm UTC](https://discourse.paraview.org/t/call-an-existing-source-from-another-proxy/9525/1 "2022-04-27T14:49:41Z")

</div>

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](https://discourse.paraview.org/uploads/short-url/2iyEFLb6lafyzLl7IlJCkopJKCP.xml) (1.0 KB)

```auto
<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>

```
