<div>Hi Utkarsh,</div><div><br></div>Did you load the SurfaceLIC plugin first? - I probably should have put it in as a dependency but this is only an example to show how the display options aren&#39;t there for the representation from a plugin.  (Also, try the sphere source.)<div>
<br></div><div>I did find a solution to my problem in the end although it is not ideal as it involved patching ParaView source specifically for my plugin.   In pqStandardServerManagerModelInterface::createPQProxy it is hard coded to create a pqPipelineRepresentation when xml_type == &quot;ImageSliceRepresentation&quot; (<meta http-equiv="content-type" content="text/html; charset=utf-8">pqStandardServerManagerModelInterface:139) and so I added my representation name too. Can you think of a better way to do this? </div>
<div><br></div><div>Thanks,<br>Paul</div><div><br><div class="gmail_quote">On 9 September 2011 21:10, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Paul,<br>
<br>
How do try out your sample? When I load the plugin in ParaView<br>
(v3.12.0-RC1-75-gf242b92), it crashes as soon as I try to show a<br>
mandlebrot or wavelet source in the view.<br>
<br>
Utkarsh<br>
<div><div></div><div class="h5"><br>
On Wed, Aug 17, 2011 at 7:29 AM, Paul Edwards &lt;<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; I have created a plugin for a new view to use one of representations<br>
&gt; (another plugin) that I have created but the display tab in the object<br>
&gt; inspector does not get populated.  If I switch back to using a<br>
&gt; representation with ParaView then it all works.  I have reproduced this with<br>
&gt; a copy of the 2D view as a plugin and set it to display<br>
&gt; SurfaceLICRepresentation (I&#39;ve editing the pqTwoDRenderView2::canDisplay to<br>
&gt; allow all types) - if the representation is changed back to<br>
&gt; ImageSliceRepresentation it all works.  Is this a bug or am I doing<br>
&gt; something wrong?<br>
&gt; Thanks in advance,<br>
&gt; Paul<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div>