incorrect param to Threshold() method in paraview.simple
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The coprocessing plugin python generator adds UseContinuousCellRange to the Threshold constructor, but the presence of that parameter causes the instantiation to crash with error below:
AttributeError: Attribute UseContinuousCellRange 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.
#this works: Threshold1 = Threshold( guiName="Threshold1", Scalars=['CELLS', 'KILLED'], ThresholdRange=[2.0, 2.0], AllScalars=1)
#this is the auto-generated python but does not work: #Threshold1 = Threshold( guiName="Threshold1", Scalars=['CELLS', 'KILLED'], ThresholdRange=[2.0, 2.0], AllScalars=1, UseContinuousCellRange=0 )
Thanks! Warren Warren Hunt Sandia Labs