[Paraview] ClipFunction Property

Adriano Gagliardi agagliardi at ara.co.uk
Thu Aug 13 05:26:18 EDT 2009


>Unfortunately, I get something different:

> clipper.GetProperty('ClipType')
><paraview.servermanager.Plane object at 0x6e839b0

You need to append .Available to the end of the command, so:

clipper.GetProperty('ClipType').Available

Hope it helps.

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

Adriano Gagliardi MEng PhD
Project Scientist
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 
-----Original Message-----
From: Jeshua Lacock [mailto:jeshua at 3DTOPO.com] 
Sent: 13 August 2009 10:12
To: paraview at paraview.org
Cc: agagliardi at ara.co.uk
Subject: Re: [Paraview] ClipFunction Property


On Aug 13, 2009, at 2:55 AM, Jeshua Lacock wrote:

>> //set the clip type to plane
>> clipper.ClipType = Plane
>
> When I try that I get:
>
> >>> clipper.ClipType = Plane


I figured it out - I just need to add quotes:

 >>> clipper.ClipType = "Plane"


It is working great now, thank you very much for your help Adriano!



Best,

Jeshua Lacock
Founder/Programmer
3DTOPO Incorporated
<http://3DTOPO.com>
Phone: 208.462.4171


---------------------------
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




More information about the ParaView mailing list