[Paraview] [Camera Control] - Clipping Range

2017-07-07 Thread Mariam
Hi, I am trying to control the camera attributes from pvpython, I noticed that if I modified Clipping Range & Thickness then called Render() the values are reset to the original values. However, changes in camera position, focal point, view up and viewing angle take effect after Render(). H

Re: [Paraview] [Camera Control] - Clipping Range

2017-07-07 Thread Utkarsh Ayachit
Currently, you can't. ParaView doesn't let user change ClippingRange. It resets it internally before each render. On Fri, Jul 7, 2017 at 2:44 PM, Mariam wrote: > Hi, > > I am trying to control the camera attributes from pvpython, I noticed that > if I modified Clipping Range & Thickness then cal

Re: [Paraview] [Camera Control] - Clipping Range

2017-07-07 Thread David E DeMarle
Try LockBounds. For example: view = GetActiveView() view.MaxClipBounds = [x0,x1,y0,y1,z0,z1] view.LockBounds = 1 David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Jul 7, 2017 at 2:51 PM, Utkarsh Ayachit wrote: > Currentl

Re: [Paraview] [Camera Control] - Clipping Range

2017-07-15 Thread Mariam
Thanks for your replies. From: David E DeMarle Date: Friday, July 7, 2017 at 7:57 PM To: Utkarsh Ayachit Cc: Mariam , ParaView Subject: Re: [Paraview] [Camera Control] - Clipping Range Try LockBounds. For example: view = GetActiveView() view.MaxClipBounds = [x0,x1,y0,y1,z0,z1