The example hasn't been updated. The subtype is now text, e.g.<div><br></div><div><div><RepresentationType subproxy="MySpecialRepresentation"</div><div> text="Special Mapper" subtype="Surface" /></div>
<div><br></div><div>Regards,<br>Paul</div><br><div class="gmail_quote">On 13 July 2011 15:54, Brian C. Panneton (CONTR) <span dir="ltr"><<a href="mailto:brian.c.panneton.ctr@us.army.mil">brian.c.panneton.ctr@us.army.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I've also tried running the example within ParaView's built examples and receive the same error. It looks like when SetRepresentation() is trying to set the mapper, it doesn't exist by the new name. Thus it goes to the error message. Any idea if this is something I'm doing wrong or a bug?<div>
<div></div><div class="h5"><br>
<br>
<br>
Brian C. Panneton (CONTR) wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was trying to do the Representations Example for 3.10.1 however it failed to run. I grabbed the latest from the git repo and tried that example and it seems to work. However, when I attempt to use it, I receive an error:<br>
<br>
'vtkGeometryRepresentation.<u></u>cxx, line 455 vtkMySpecialRepresentation (0x5851500): Invalid type: 1'<br>
<br>
What I was doing was creating a cube source and switching to the Special Mapper in the drop down. From my understanding it was just going to use what the Surface Representation used.<br>
<br>
I was also wondering if you can use multiple mappers per representation. For instance I have a MultiBlockDataSet containing 3 blocks (Polydata for Points, Polydata for Tubes, Polydata for a Plane). So I was wondering if it is possible to have a single Representation use different mappers for each block. I would like to map a specific color set to the tubes and also an image to the plane.<br>
<br>
Is this possible?<br>
<br>
Thanks,<br>
Brian Panneton<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<u></u>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/<u></u>mailman/listinfo/paraview</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<u></u>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/<u></u>mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>