[vtkusers] serializing unstructuredGrid

Ewan Willis ewillis at vpac.org
Thu Dec 28 23:48:18 EST 2006


I am using the python wrapper with version 5.0.2 and would like to
serialize a vtkUnstructuredGrid object to a binary string.

Using the following;

writer = vtkUnstructuredGridWriter()
writer.SetInput(grid)
writer.WriteToOutputStringOn()
writer.GetBinaryOutputString()

I get the error: AttributeError: GetBinaryOutputString

If someone could point me in the right direction, I would be over the
proverbial moon :)




More information about the vtkusers mailing list