# Python and Color Map Presets

**URL:** https://discourse.paraview.org/t/python-and-color-map-presets/2064
**Category:** ParaView Support
**Created:** [June 17, 2019, 10:16pm UTC](https://discourse.paraview.org/t/python-and-color-map-presets/2064 "2019-06-17T22:16:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 17, 2019, 10:16pm UTC](https://discourse.paraview.org/t/python-and-color-map-presets/2064/1 "2019-06-17T22:16:27Z")

</div>

What is, or is there, Python to change presets?

Note that the Trace utility does not record changing color map presets.

Thanks,

Alan

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [June 18, 2019, 2:05am UTC](https://discourse.paraview.org/t/python-and-color-map-presets/2064/2 "2019-06-18T02:05:18Z")

</div>

`paraview.simple` has a function to import a presets file (`ImportPresets`). `GetLookupTableNames()` gets a list of preset names. There is no Python API available to trace changes to the presets.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [June 18, 2019, 2:06am UTC](https://discourse.paraview.org/t/python-and-color-map-presets/2064/3 "2019-06-18T02:06:36Z")

</div>

Perfect. That is what my user was looking for. Thanks.
