Tias, Sure, there is, and it's easy to find out how. Under the Tools menu, choose, Start Trace. In the dialog box that appears, click OK. Now uncheck the Map Scalars checkbox in your pipeline object. Stop the trace by selecting Stop Trace in the Tools menu.
Doing this for a simple sphere source, the trace gives: # get active source. sphere1 = GetActiveSource() # get active view renderView1 = GetActiveViewOrCreate('RenderView') # uncomment following to set a specific view size # renderView1.ViewSize = [684, 597] # get display properties sphere1Display = GetDisplayProperties(sphere1, view=renderView1) # Properties modified on sphere1Display sphere1Display.MapScalars = 0 This last line gets you what you want. HTH, Cory On Tue, Feb 9, 2016 at 7:08 PM, Tias Maiti <maiti...@egr.msu.edu> wrote: > Hi, > > I am trying to set RGB color based on a data with 3 components. Unchecking > "Map Scalars" checkbox under Scalar coloring does the trick in GUI mode. Is > there a way to do it using pvpython (scripts) ? > > How do I set up the lookup table to do the same thing ? > > Thanks, > Tias > > ——————————————— > Tias Maiti > Research Assistant > Computational Material Mechanics > Michigan State University > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen R&D Engineer Kitware, Inc. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview