Hi everybody,<div><br></div><div>I&#39;m trying to obtain the representation of a source, in order to hide/unhide it on the renderview (using the &quot;Visibility&quot; property).</div><div>In order to achieve that, I tried to use pqPipelineSource-&gt;GetDataRepresentation(myRenderView), but the only thing I got is a segmentation fault...</div>
<div>Through vtkSMSourceProxy I tried to obtain the vtkSMOutputPort but was unable to find how to finally have the representation.</div><div><br></div><div>Another problem I have, is when I create from scracth (using the session manager and vtkSMProxy subclasses) cut plane filter-&gt;surface representation associated with an existing source (what I want to do is applying a cut plane on a source already in the render view) and register them in the vtkSMSessionProxyManager, I got the following error &quot;Representation could not locate the pqPipelineSource object&quot;.</div>
<div><br></div><div>I tried to use the pqObjectBuilder instead but when I try to get the output port of the existing source, I got an error &quot;paraview invalid output port. pqPipelineSource-&gt;GetOutputPort(0). Aborted&quot;</div>
<div><br></div><div>Thanks in advance for your help :)</div><div><br></div><div>Regards</div><div><br></div><div>Jean-Noël </div>