[Paraview] documentation for python scripting

Su, Simon M CTR USARMY ARL (US) simon.m.su.ctr at mail.mil
Fri May 2 10:31:07 EDT 2014


Hello,

Searching the past posting I found python scripts like the following from one of the posting


============

exporters=servermanager.createModule("exporters")

x3dExporter=exporters.X3DExporter(FileName="test.x3d") view = GetActiveView()

x3dExporter.SetView(view) # <===== NEW LINE

x3dExporter.Write()

=============

Where can I find more information on the option above like servermanager.createModule("exporters"), what are other options available besides "exporters"?

And if I do


>>> dir(x3dExporter)

['FileName', 'GetProperty', 'GetPropertyValue', 'Initialize', 'InitializeFromProxy', 'ListProperties', 'Observed', 'ObserverTag', 'Port', 'SMProxy', 'SetPropertyWithName', '_Proxy__ConvertArgumentsAndCall', '_Proxy__GetActiveCamera', '_Proxy__LastAttrName', '_Proxy__Properties', '__class__', '__del__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattr__', '__getattribute__', '__hash__', '__init__', '__iter__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_attribute']

the x3dExporter.SetView(view) option is no where to be found. How do I know what else are available?

thanks
-simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140502/ac939367/attachment.html>


More information about the ParaView mailing list