[Paraview] documentation for python scripting

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri May 2 10:39:31 EDT 2014


>>> dir(x3dExporter.SMProxy)

Methods not found on the Wrapped proxy are then forwarded to the real proxy
instance that is held by the SMProxy field.

Moreover, here is the link to the ParaView/Python documentation.

http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/index.html

Seb


On Fri, May 2, 2014 at 8:31 AM, Su, Simon M CTR USARMY ARL (US) <
simon.m.su.ctr at mail.mil> wrote:

>  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
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140502/b8cf7121/attachment.html>


More information about the ParaView mailing list