Tobias Froebel wrote: > Hello, > > I'm encountering a problem with paraview-cvs and paraview-3.6. The > following example from the servermanager documentation worked fine for > me in paraview 3.4 >
Please read Berk's very nice email on May 25, subject: "ParaView Python users please read" Many changes have gone in, and the scripting is now much nicer and user friendly. You must change your syntax though. It is all nicely documented here: http://paraview.org/Wiki/ParaView/Python_Scripting your new script should be: from paraview.simple import * sm=servermanager sm.Connect() cone=sm.sources.Cone() elev=sm.filters.Elevation(Input=cone) view=sm.CreateRenderView() rep=sm.CreateRepresentation(elev,view) lt=sm.rendering.PVLookupTable() rep.LookupTable=lt rep.ColorAttributeType='POINT_DATA' rep.ColorArrayName='Elevation' _______________________________________________ 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
