Hi David,

Thanks for your reply.
Executing Show() command, the Calculator Filter is activated.

# Show() command isn't recorded by "Start Trace",
# so I didn't think of it.


Magician


On 2012/08/17, at 23:55, David E DeMarle wrote:

> Show()
> 
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
> 
> 
> On Fri, Aug 17, 2012 at 10:00 AM, Magician <[email protected]> wrote:
>> Hi all,
>> 
>> 
>> I'm trying to apply Calculator filter to active source
>> from the Python Shell.
>> I executed these codes:
>>> calc = Calculator()
>>> calc.AttributeMode = "point_data"
>>> calc.Function = "iHat+jHat+kHat"
>>> calc.ResultArrayName = 'SampleVect'
>> 
>> Applying the script, a new Calculator source is generated,
>> but the source isn't activated on the current view.
>> Valid sources have eye icons on the Pipeline Browser,
>> but the Calculator source which is generated by Python
>> doesn't have it.
>> 
>> How can I finish to generate the filter source from Python?
>> 
>> 
>> Magician

_______________________________________________
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