[Paraview] [EXTERNAL] Re: Trace recorder missing color preset changes
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Fri Jan 9 14:57:31 EST 2015
Alan,
Here;s an example to load a color map XML
lut = GetColorTransferFunction("RTData")
with open("/tmp/Blot.xml", "r") as f:
data = f.read()
lut.ApplyColorMap(data)
On Wed, Jan 7, 2015 at 3:34 PM, Scott, W Alan <wascott at sandia.gov> wrote:
> Ping?
>
>
>
>
>
>
>
> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Scott,
> W Alan
> *Sent:* Tuesday, December 23, 2014 10:54 AM
> *To:* Utkarsh Ayachit
> *Cc:* Mauldin, Jeffrey A.; paraview at paraview.org
> *Subject:* Re: [Paraview] [EXTERNAL] Re: Trace recorder missing color
> preset changes
>
>
>
> Correct, the user has a specific XML file / block of code he wants to
> load. He is working on a car engine, with a few hundred blocks. He is
> coloring the car engine by material type – aluminum, steel, rubber, copper,
> etc.
>
>
>
> Alan
>
>
>
> *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com
> <utkarsh.ayachit at kitware.com>]
> *Sent:* Tuesday, December 23, 2014 8:35 AM
> *To:* Scott, W Alan
> *Cc:* paraview at paraview.org; Mauldin, Jeffrey A.
> *Subject:* [EXTERNAL] Re: [Paraview] Trace recorder missing color preset
> changes
>
>
>
> Alan,
>
>
>
> What does your user want to do exactly? Does he have a color XML that he
> wants to load?
>
>
>
> On Mon, Dec 22, 2014 at 9:38 PM, Scott, W Alan <wascott at sandia.gov> wrote:
>
> There is an issue with the trace recorder missing color preset changes. I
> wrote up a bug here: http://www.paraview.org/Bug/view.php?id=15116.
> However, I need the python for a user so that he can manually edit the
> trace script and change color presets. Does anyone either know the python
> I need, or where to find it?
>
>
>
> Thanks,
>
>
>
> Alan
>
>
>
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/paraview
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150109/929ab40f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Blot.xml
Type: text/xml
Size: 659 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150109/929ab40f/attachment.xml>
More information about the ParaView
mailing list