It's possible your ParaView is not recent enough. This code was added on Jun 22 by the following commit.
http://paraview.org/gitweb?p=ParaView.git;a=commit;h=76abe353579e6776f17ecd1f08ada64156f72000 Utkarsh On Thu, Jul 1, 2010 at 8:05 PM, Greg Schussman <[email protected]> wrote: > Hello. > > I'm building a batch script run by pvbatch. So far, all is well; I can load > multiple meshes, use the calculator, do some clipping, etc. > > But when I do the following (copy-pasted from a paraview trace from the gui > version of ParaView): > > AnimationScene1 = GetAnimationScene() > > I get the error: > > NameError: name 'GetAnimationScene' is not defined > > Looking at > > http://www.cmake.org/Wiki/ParaView/Python_Scripting > > suggests I'm doing the right thing. > > I am using a recent (within the last few weeks) copy of the paraview sources > via git. > > Any ideas? > > Thanks. > > Greg > > > _______________________________________________ > 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 > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
