Dear All!

I am trying to run the SurfaceLIC representation under pvbatch. From the python 
trace tool under the GUI, I could find the following output which helps me 
setting the LIC intensity and LICStepSize:

RenderView1 = GetRenderView()
DataRepresentation1 = Show()
DataRepresentation1.Representation = 'Surface LIC'
DataRepresentation1.InterpolateScalarsBeforeMapping = 0
DataRepresentation1.LICIntensity = 1.0
DataRepresentation1.LICStepSize = 0.25

Unfortunately, doing the same within a python script does not work, since I get 
:

AttributeError: Attribute LICIntensity does not exist.  This class does not 
allow addition of new attributes to avoid mistakes due to typos. Use 
add_attribute() if you really want to add this attribute.

The above attributes LICIntensity and LICStepSize are not available from the 
python shell either, even after having set the representation to 'Surface LIC'. 
 I get the same issue either with the Kitware binaries or those compiled by 
myself. Even forcing the load of the SurfaceLIC plugin with  
paraview.servermanager.LoadPlugin("libSurfaceLIC.so") does not solve the issue.

I am surely missing one step. Could someone tell me which?

Thanks a lot in advance.

Cheers,

Frank Albina.
_______________________________________________
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