[Paraview] Loading a session trace

Karpf, Henry J hjkarpf at sandia.gov
Thu Jun 23 09:49:01 EDT 2005


So I am trying to save a session trace, and then reopen it later, here is the session trace:
set kw(vtkTemp5) [$Application GetMainWindow]
set kw(vtkTemp23) [$kw(vtkTemp5) GetMainView]
set kw(vtkTemp660) [$kw(vtkTemp5) InitializeReadCustom "PVDReader" "/home/hjkarpf/Chisels/examples/new/vtkout.pvd"]
$kw(vtkTemp5) ReadFileInformation $kw(vtkTemp660) "/home/hjkarpf/Chisels/examples/new/vtkout.pvd"
$kw(vtkTemp5) FinalizeRead $kw(vtkTemp660) "/home/hjkarpf/Chisels/examples/new/vtkout.pvd"
set kw(vtkTemp665) [$kw(vtkTemp660) GetPVWidget {Filename}]
$kw(vtkTemp665) SetValue "/home/hjkarpf/Chisels/examples/new/vtkout.pvd"
set kw(vtkTemp662) [$kw(vtkTemp660) GetPVWidget {TimeStep}]
$kw(vtkTemp662) SetValue 0
$kw(vtkTemp5) SetCenterOfRotation 0.000000 -5.000000 0.000000
$kw(vtkTemp5) SetCenterOfRotation 0.000000 -5.000000 0.000000
set kw(vtkTemp673) [$kw(vtkTemp5) GetPVColorMap {point_scalars} 1]
$kw(vtkTemp673) SetScalarBarTitle {point_scalars}
set kw(vtkTemp746) [$kw(vtkTemp5) GetAnimationManager]
set kw(vtkTemp447) [$kw(vtkTemp746) GetHAnimationInterface]
set kw(vtkTemp450) [$kw(vtkTemp447) GetParentTree]
set kw(vtkTemp734) [$kw(vtkTemp450) GetChild "Sources.[$kw(vtkTemp660) GetName]"]
set kw(vtkTemp738) [$kw(vtkTemp734) GetChild "Sources.[$kw(vtkTemp660) GetName].TimeStep.0"]
set kw(vtkTemp742) [$kw(vtkTemp738) GetKeyFrame "KeyFrameName_0"]
$kw(vtkTemp742) SetKeyTime 0.000000
$kw(vtkTemp742) SetKeyValue 0.000000
$kw(vtkTemp742) SetKeyValue 0.000000
$kw(vtkTemp742) SetKeyValue 0.000000
set kw(vtkTemp748) [$kw(vtkTemp738) GetKeyFrame "KeyFrameName_1"]
$kw(vtkTemp748) SetKeyTime 1.000000
$kw(vtkTemp748) SetKeyValue 0.000000
$kw(vtkTemp748) SetKeyValue 0.000000
$kw(vtkTemp748) SetKeyValue 24.000000
$kw(vtkTemp660) AcceptCallback

But when i try to reopen this at a later time I get this error, and the loading just stops:
# Error or warning:
# There was a VTK Error in file: /home/hjkarpf/temp/Paraview/paraview-2.0.3/GUI/Widgets/vtkKWApplication.cxx (1397)
#  
#     Script: 
# /home/hjkarpf/untitled folder/test.pvs
#     Returned Error on line 18: 
#       invalid command name ""
#

Looking at the above code line 18 is:
set kw(vtkTemp738) [$kw(vtkTemp734) GetChild "Sources.[$kw(vtkTemp660) GetName].TimeStep.0"]

Can anyone help fix this problem? Thanks in advance.

--------------------------
Henry Karpf


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20050623/5e424ca9/attachment.html


More information about the ParaView mailing list