<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16912"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>I've been trying to have a texture (PNG file)&nbsp;applied to&nbsp;a multiblock surface via a Python script. My starting point was a trace of the process,which looks like this</DIV>
<DIV>t1 = TextureMaptoPlane()<BR>rep = Show()<BR>rep.Texture = []</DIV>
<DIV>&nbsp;</DIV>
<DIV>When I load the PNG file with PNGSeriesReader, and make the command rep.Texture=[pngObject] Paraview crashes with the following error</DIV>
<DIV>ERROR: In /home/kitware/Dashboards/MyTests/Paraview-master/ParaViewCo<BR>vtkPVSessionCore (0x1ba6360): Object type: vtkGlyph3DRepresentation, <BR>or the method was called with incorrect arguments.</DIV>
<DIV>&nbsp;</DIV>
<DIV>while processing<BR>Message 0 = Invoke<BR>&nbsp; Argument 0 = vtk_object_pointer {vtkGlyph3DRepresentation (0x21b2be<BR>&nbsp; Argument 1 = string_value {SetTexture}<BR>&nbsp; Argument 2 = vtk_object_pointer {vtkFileSeriesReader (0x22ca5f30)}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>ERROR: In /home/kitware/Dashboards/MyTests/Paraview-master/ParaViewCo<BR>vtkPVSessionCore (0x1ba6360): Aborting execution for debugging purposes.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now my representation mode was set to surface so I have no idea why it's referencing vtkGlyph3DRepresentation, and the crash occurs with both multi-block and single block datasets, and in both the Linux and Windows versions of 3.12.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm hoping someone out there knows the solution to this!</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Segoe UI Semibold">Ryan Danks, B.A.Sc., E.I.T.</FONT></DIV>
<DIV><FONT face="Segoe UI Semibold">Project&nbsp;Coordinator</FONT></DIV>
<DIV><FONT face="Segoe UI Semibold">Rowan, Williams Davies &amp; Irwin Inc. (RWDI)</FONT></DIV>
<DIV><FONT face="Segoe UI Semibold">Consulting Engineers &amp; Scientists</FONT></DIV>
<DIV><FONT face="Segoe UI Semibold"></FONT>&nbsp;</DIV>
<DIV><FONT face="Segoe UI Semibold">650 Woodlawn Road West</FONT></DIV>
<DIV><FONT face="Segoe UI Semibold">Guelph, Ontario, Canada N1K 1B8</FONT></DIV>
<DIV><FONT face="Segoe UI Semibold">T (519) 823-1311 x 2282</FONT></DIV>
<DIV><FONT face="Segoe UI Semibold">F (519) 823-1316</FONT></DIV>
<DIV><FONT face="Segoe UI Semibold">email: </FONT><A href="mailto:ryan.danks@RWDI.com"><FONT face="Segoe UI Semibold">ryan.danks@RWDI.com</FONT></A></DIV>
<DIV><FONT face="Segoe UI Semibold">web: </FONT><A href="http://www.rwdi.com/"><FONT face="Segoe UI Semibold">www.rwdi.com</FONT></A></DIV><p>
     RWDI - One of Canada's 50 Best Managed Companies
     www.rwdi.com/50_best/

This communication is intended for the sole use of the party to whom it was addressed and may contain information that is privileged and/or confidential. Any other distribution, copying or disclosure is strictly prohibited. If you received this email in error, please notify us immediately by replying to this email and delete the message without retaining any hard or electronic copies of same. 

Outgoing emails are scanned for viruses, but no warranty is made to their absence in this email or attachments.<p>

</BODY></HTML>