# Paraview Plugin Mulitple Output port

**URL:** https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985
**Category:** Development
**Created:** [June 4, 2019, 6:26pm UTC](https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985 "2019-06-04T18:26:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Sugumar](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sugumar/32/1552_2.png) [@Sugumar](https://discourse.paraview.org/u/Sugumar)
#### Post date: [June 4, 2019, 6:26pm UTC](https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985/1 "2019-06-04T18:26:23Z")

</div>

Hello , I am into writing a plugin for Paraview, I am having three output ports.

 ![Figure1](https://discourse.paraview.org/uploads/default/original/2X/8/8a5c915f4a2cf1d7f6bfb504c953503cf2804582.png)  
The first port Structure is for Multi-block data set and second port Property is for Structured Grid and the third port Settings is vtkTable.  
When I open the file for reading all the three output ports are enable and it looks like as in Figure 2. ![Figure%202](https://discourse.paraview.org/uploads/default/original/2X/8/86d7e985e9296b836e3dab98724697b36ced5b63.png)  
I don’t want that 3rd port Settings of Vtk Table to be loaded by default.  
I have used the following in the Server-manager XML file but it has no effect i intended

```
           <OutputPort name="Structure" index="0" visible="1"/>
           <OutputPort name="Property" index="1" visible="1" />
           <OutputPort name="Settings" index="2" visible ="0"/> 

```

Any help in this regard is highly appreciated. Thanks in advance.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 5, 2019, 7:28am UTC](https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985/2 "2019-06-05T07:28:04Z")

</div>

```
  <OutputPort index="0" name="Structure" />
  <OutputPort index="1" name="Property" />
  <OutputPort index="1" name="Settings" />
  <Hints>
    <View type="RenderView" port="0" />
    <View type="RenderView" port="1" />
    <View type="None" port="2" />
  </Hints>

```

This should do the trick

---

<div class="post-metadata">

### Author: ![Sugumar](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sugumar/32/1552_2.png) [@Sugumar](https://discourse.paraview.org/u/Sugumar)
#### Post date: [June 5, 2019, 1:28pm UTC](https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985/3 "2019-06-05T13:28:15Z")

</div>

Mathieu,  
Thanks for your kind reply. Yes, now it worked exactly. Could you also please tell which section of Paraview code there is a mention about this ? Say, If I want to understand it by myself what is it the index in the above code represents? if it is port whose meaning is a kind of very obvious. Will there be a mention of functional definitions of these XML keywords like index , port in the comments section of the code dealing with it? If So can you please spot those parts to me? I have found the following link which has some contents about the XML definitions  
[https://www.paraview.org/Wiki/ServerManager\_XML\_Hints](https://www.paraview.org/Wiki/ServerManager_XML_Hints)  
But it seems to be bit outdated.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 5, 2019, 1:31pm UTC](https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985/4 "2019-06-05T13:31:23Z")

</div>

The wiki is being phased out.

All info is here now:  
[https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/ProxyHints.md](https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/ProxyHints.md)  
[https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/PropertyHints.md](https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/PropertyHints.md)  
[https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/PluginHowto.md](https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/PluginHowto.md)

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [June 5, 2019, 1:33pm UTC](https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985/5 "2019-06-05T13:33:48Z")

</div>

The markdown files @mwestphal referred to are processed by doxygen and are accessible here: [https://kitware.github.io/paraview-docs/nightly/cxx/](https://kitware.github.io/paraview-docs/nightly/cxx/).

The link also provides docs for multiple versions of ParaView including `master`.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 5, 2019, 1:34pm UTC](https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985/6 "2019-06-05T13:34:14Z")

</div>

Much better, thanks @utkarsh.ayachit

---

<div class="post-metadata">

### Author: ![Sugumar](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sugumar/32/1552_2.png) [@Sugumar](https://discourse.paraview.org/u/Sugumar)
#### Post date: [June 5, 2019, 1:48pm UTC](https://discourse.paraview.org/t/paraview-plugin-mulitple-output-port/1985/7 "2019-06-05T13:48:50Z")

</div>

Thanks @mwestphal and @utkarsh.ayachit . The recommendations are very helpful and it contains resourceful information that I needed.
