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

2012-11-06 Thread Joe Borġ
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? Regards, Joseph David Borġ http://www.jdborg.com

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

2012-11-07 Thread David Thompson
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 an

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

2012-11-08 Thread Joe Borġ
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 wrote: > Hi Joe, > > > In the GUI, this is ea