Re: [Paraview] Python tracing doesn't work for opacity time frames?

2017-11-03 Thread Robert Sawko
Utkarsh,

Really sorry but this dropped off my radar. Thanks for raising an issue and
sharing this code snippet below.

Robert

> You can get access to the opacity track using the API similar to getting
> track for any other attribute as "Radius" for SPhere Source.
>
> a = GetAnimationTrack('Opacity', index=0, proxy=sphere1)
>
> Now you can add keyframes etc to the track.

-- 
One, among many reasons to visit Australia!
http://en.wikipedia.org/wiki/Morning_Glory_cloud
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Python tracing doesn't work for opacity time frames?

2017-04-24 Thread Utkarsh Ayachit
Robert,

I've reported the issue here:
https://gitlab.kitware.com/paraview/paraview/issues/17395

You can get access to the opacity track using the API similar to
getting track for any other attribute as "Radius" for SPhere Source.

a = GetAnimationTrack('Opacity', index=0, proxy=sphere1)

Now you can add keyframes etc to the track.


Utkarsh

On Wed, Apr 19, 2017 at 10:09 AM, Robert Sawko  wrote:
> Hi,
>
> I am trying to script paraview to ramp up opacity of some objects, but it 
> seems
> that the tracing functionality isn't working. I've selected maximum verbosity
> options in Tools->Start trace, but nothing is produced.
>
> Could anyone perhaps share a script with Opacity? I've been able to work
> out camera actions with PV, but it seems to me that opacity ramping is more
> difficult as it needs some reference to an object it's meant to affect.
>
> Please let me know,
> Robert
> --
> Constellation iridium and its flares
> https://www.youtube.com/watch?v=MTGVuPr9Epg
> https://en.wikipedia.org/wiki/Iridium_satellite_constellation
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview