[Paraview] Converting an XML colour scale to a list for RGBPoints in batch

Joe Borġ mail at jdborg.com
Thu Nov 8 04:20:02 EST 2012


Hi David,

All you get with that is the RGBPoints=[] (with populated RGB values), but
not showing the actual method to convert the XML file into RGB values.



Regards,
Joseph David Borġ
http://www.jdborg.com


On 7 November 2012 16:58, David Thompson <david.thompson at kitware.com> wrote:

> Hi Joe,
>
> > In the GUI, this is easy, you just click "Edit color map" -> "Choose
> preset" -> "Import", select the xml file and you're away.  I can't seem to
> be able to do this in batch though.  Is there any way I can?
>
> I don't know of a way offhand, but you might try using Tools->Start Trace
> and Tools->Stop Trace to load a dataset and import a colormap to color it.
> That's how I discover Python equivalents for many things in ParaView.
>
>         David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121108/c4ef9cd2/attachment.htm>


More information about the ParaView mailing list