# Volume Rendering with Python

**URL:** <https://discourse.slicer.org/t/volume-rendering-with-python/3431>\
**Category:** Support\
**Created:** [July 9, 2018, 2:49pm UTC](https://discourse.slicer.org/t/volume-rendering-with-python/3431 "2018-07-09T14:49:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [July 11, 2018, 2:48pm UTC](https://discourse.slicer.org/t/volume-rendering-with-python/3431/3 "2018-07-11T14:48:20Z")

</div>

> [@How to set volume rendering preset using Python](https://discourse.slicer.org/t/how-to-set-volume-rendering-preset-using-python/3063):
>
> Hi developers, Using a Python script I am trying to load a volume, set the slice views and also a volume rendering preset. While loading and setting the slice views works out well, the volume rendering always shows up with the default settings and not the targeted preset. Could someone please give me a hint of what’s missing? Is there a way to adjust the preset parameter “shift” in advance? Since I am new to Slicer development I would also be happy about any hint of how to improve the code (i…

---

_[View the full topic](https://discourse.slicer.org/t/volume-rendering-with-python/3431)._
