>
> to take the guess work out, you may simply refer to the help using the
> dir() command
>
> dir(servermanager.sources)    # will print out all sources, and you will
> find what you are looking for under the name
>
> servermanager.sources.PLYreader()
>
>
> Jean - ah yes, I forgot about the actual pvpython shell!

reader = servermanager.sources.plyreader(FileName=ModelFilename)

Here is how to write once you have the file read:
    writer = servermanager.writers.XMLPolyDataWriter(FileName="test.vtp")
    writer.Input = reader
    writer.UpdatePipeline()

I added an example of how to take a screenshot and how to convert a file to
the wiki.

The only remaining question is why is there no obj support?

Thanks,

David
_______________________________________________
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