I've been trying to have a texture (PNG file) applied to a multiblock surface 
via a Python script. My starting point was a trace of the process,which looks 
like this
t1 = TextureMaptoPlane()
rep = Show()
rep.Texture = []
 
When I load the PNG file with PNGSeriesReader, and make the command 
rep.Texture=[pngObject] Paraview crashes with the following error
ERROR: In /home/kitware/Dashboards/MyTests/Paraview-master/ParaViewCo
vtkPVSessionCore (0x1ba6360): Object type: vtkGlyph3DRepresentation, 
or the method was called with incorrect arguments.
 
while processing
Message 0 = Invoke
  Argument 0 = vtk_object_pointer {vtkGlyph3DRepresentation (0x21b2be
  Argument 1 = string_value {SetTexture}
  Argument 2 = vtk_object_pointer {vtkFileSeriesReader (0x22ca5f30)}
 
 
 
ERROR: In /home/kitware/Dashboards/MyTests/Paraview-master/ParaViewCo
vtkPVSessionCore (0x1ba6360): Aborting execution for debugging purposes.
 
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.
 
I'm hoping someone out there knows the solution to this!
 

 
 
 
Ryan Danks, B.A.Sc., E.I.T.
Project Coordinator
Rowan, Williams Davies & Irwin Inc. (RWDI)
Consulting Engineers & Scientists
 
650 Woodlawn Road West
Guelph, Ontario, Canada N1K 1B8
T (519) 823-1311 x 2282
F (519) 823-1316
email: [email protected]
web: www.rwdi.com


     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.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to