MantisBT - ParaView
View Issue Details
0014417ParaView(No Category)public2013-11-20 17:132015-01-11 08:18
Rich 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
4.0 
4.2 
TBD
refactor_python_tracing_2
incorrect functionality
0014417: Save Geometry is not captured in python trace tool
Tools -> Start Trace
File --> Save Geometry
Tools -> Stop Trace

Result:
ry: paraview.simple
except: from paraview.simple import *
paraview.simple._DisableFirstRenderCameraReset()

RenderView5 = GetRenderView()
AnimationScene5 = GetAnimationScene()
RenderView5.ViewTime = 9.0
RenderView5.UseCache = 0
RenderView5.CameraClippingRange = [146.76843703332281, 209.91660024403399]

AnimationScene5.AnimationTime = 9.0

Render()
PythonTrace
Issue History
2013-11-20 17:13RichNew Issue
2014-07-04 21:46Utkarsh AyachitTag Attached: PythonTrace
2014-07-04 21:46Utkarsh AyachitAssigned To => Utkarsh Ayachit
2014-07-09 21:47Utkarsh AyachitNote Added: 0033001
2014-07-15 10:05Utkarsh AyachitNote Added: 0033020
2014-07-18 20:59Utkarsh AyachitTopic Name => refactor_python_tracing_2
2014-07-18 20:59Utkarsh AyachitStatusbacklog => gatekeeper review
2014-07-18 20:59Utkarsh AyachitFixed in Version => git-next
2014-07-18 20:59Utkarsh AyachitResolutionopen => fixed
2014-07-22 08:32Utkarsh AyachitFixed in Versiongit-next => git-master
2014-07-22 08:32Utkarsh AyachitStatusgatekeeper review => customer review
2014-07-22 08:32Utkarsh AyachitNote Added: 0033054
2014-07-24 21:26Alan ScottNote Added: 0033086
2014-07-24 21:26Alan ScottStatuscustomer review => closed
2014-08-29 10:59Utkarsh AyachitFixed in Versiongit-master => 4.2
2015-01-11 08:18Utkarsh AyachitSource_changeset_attached => ParaView master c62194e3

Notes
(0033001)
Utkarsh Ayachit   
2014-07-09 21:47   
Developer note:

This is what the current trace generates:

==================================================
#### import the simple module from the paraview
from paraview.simple import *
#### disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()

# get active view
renderView0 = GetActiveViewOrCreate('RenderView')
# uncomment following to set a specific view size
# renderView0.ViewSize = [1387, 796]

# save animation geometry from a view
WriteAnimationGeometry('/tmp/foo.pvd', view=renderView0)
========================================================
(0033020)
Utkarsh Ayachit   
2014-07-15 10:05   
commit 98cf14fce27c835ccdd9c64cc12f4a0e8f836b0c
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Jul 15 10:05:07 2014 -0400

    BUG 0014417: Added test to test tracing of save geometry.
    
    Added a new test that now tests tracing of "Save Geometry" called
    TraceSaveGeometry.
    
    Change-Id: I9d619cbafb58e19f26488fe86c19706dbeb75de2
(0033054)
Utkarsh Ayachit   
2014-07-22 08:32   
---------------------------------------------
Topics merged into master:
        0014874_fix_scalar_opacity_unit_distance
        14834_fix_representation_update
        dashboard-warnings-20140721
        refactor_python_tracing_2
(0033086)
Alan Scott   
2014-07-24 21:26   
Looks right to me. Rich, you may also want to try it, make sure it is correct.

Tested Linux, master, local server.