[Paraview] Programatically change "Map Scalars" and "Color By"

Mike Jackson imikejackson at gmail.com
Tue Apr 1 14:38:12 EDT 2008


It is now. I was setting the activeVectors.

That takes care of the "Color By" drop down but the "Map Scalars" is  
still checked. So either I am misunderstanding what is meant by "Map  
Scalars" or I really _do_ need it unchecked. With it "Checked" the  
colors do NOT match. With it "Unchecked" the colors that the user  
selects for their data does match what is displayed.

Thanks so far for the help.
-- 
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Apr 1, 2008, at 2:14 PM, clinton at elemtech.com wrote:
>
> Are you setting them as the active scalars in your filter?
>
> Clint
>
> On Tuesday 01 April 2008 11:51:00 am Mike Jackson wrote:
>> Is there any way to programatically change the "Map Scalars" value
>> and the "Color By" drop down menu when a filter runs? I am storing
>> the rgb values as cell attributes in my data set and to show the
>> correct colors I _always_ have to select the proper attribute from
>> the "Color By" drop down menu and then uncheck "Map Scalars". The
>> scalars are stored as 3xUChar (RGB) in the attributes.
>>
>> Thanks
>> --
>> Mike Jackson
>> imikejackson & gmail * com
>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>
>



More information about the ParaView mailing list