[Paraview] Paraview python option "Show Plane" for slices

Adriano Gagliardi agagliardi at ara.co.uk
Tue Jul 26 09:51:19 EDT 2011


 
Try out the Python trace functionality. It'll give you the answer in a few
seconds.
 

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

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk 

 

  _____  

From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
On Behalf Of Raphael Muenster
Sent: 26 July 2011 14:15
To: paraview at paraview.org
Subject: [Paraview] Paraview python option "Show Plane" for slices


Hello,

I am trying to make screenshots with a python script, in principal it works,
but just one detail is not working how I would like it to be.
I applied a Slice filter with type 'Plane' to my input and I want to take a
screenshot of the slice. In the GUI (in the Properties tab of the slice )
there is a check box "Show Plane"  that controls the visibility of the Slice
plane. When I want to take my screenshot I would like to turn off the
visibility of the slice plane, so that only the data slice is shown. In the
GUI I would do that by simply unchecking the check box "Show Plane". I could
not find out how to do that in python. Python shows me the following
properties of the slice:

>>>for prop in cutplane1:
...        prop.GetXMLLabel()

'Slice Offset Values'
'Slice Type'
'Input'
'Input Bounds'

So I guess the 'Show Plane' option is not a property, so how can I disable
it in python?

Thank you!
Raphael



**********************************************************************
This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110726/e261d81b/attachment-0001.htm>


More information about the ParaView mailing list