Joshua, You're missing a call to UpdatePipeline() before the CreateWriter() call. I'm trying to decide what's the best strategy, i.e. ParaView should call UpdatePIpeline() automatically, for the upcoming release.
Utkarsh On Mon, Jan 30, 2012 at 3:32 PM, Houskamp, Joshua R CTR (US) <[email protected]> wrote: > > I'm looking for confirmation on whether this is a bug or a local > implementation issue... > > I am trying to export PlotOverLine to a set of CSV files (over time). > > in 3.10.2 this code works, in 3.12.0 it generates an error: > > ExoOut = ExodusIIReader( FileName= foo.exo ) > ExoOut.ElementVariables = ['FOO1', 'FOO2',] > > Plot1 = PlotOverLine(ExoOut) > Plot1.Source.Point1 = [ 0.0, 0.004, 0.0] > Plot1.Source.Point2 = [ 0.019, 0.004, 0.0] > Plot1.Source.Resolution = 100 > > Output = CreateWriter('/fullPathname/filenameout.csv',Plot1) > Output.WriteAllTimeSteps = 1 > Output.FieldAssociation = 'Points' > Output.UpdatePipeline() > > > --------------------------3.12.0 Error Message > ------------------------------------------------- > > ERROR: In > /LOCAL_BUILD_LOCATION/BUILD/CMakeExternals/Source/paraview-3.12.0/ParaViewCore/ServerManager/vtkSMWriterFactory.cxx, > line 372 > vtkSMWriterFactory (0x127360f0): No matching writer found for extension: csv > > ERROR: In > /LOCAL_BUILD_LOCATION/BUILD/CMakeExternals/Source/paraview-3.12.0/ParaViewCore/ServerManager/vtkSMWriterFactory.cxx, > line 372 > vtkSMWriterFactory (0x127360f0): No matching writer found for extension: csv > > Traceback (most recent call last): > File "lineplot.py", line 62, in <module> > Output.WriteAllTimeSteps = 1 > AttributeError: 'NoneType' object has no attribute 'WriteAllTimeSteps' > > > > Joshua R. Houskamp, PhD > Research Scientist > Bowhead Science and Technology > U.S. Army Research Laboratory > Weapons and Materials Research Directorate > ATTN: RDRL-WMP-B > Aberdeen Proving Ground, MD 21005-5066 > Office: 410-278-3815 > Fax: 410-278-2460 > [email protected] > > > _______________________________________________ > 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
