# Adjusting "Shift" Volume Rendering Display using Python

**URL:** <https://discourse.slicer.org/t/adjusting-shift-volume-rendering-display-using-python/11731>\
**Category:** Development\
**Created:** [May 27, 2020, 1:32pm UTC](https://discourse.slicer.org/t/adjusting-shift-volume-rendering-display-using-python/11731 "2020-05-27T13:32:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![hemmer](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hemmer/32/9028_2.png) [@hemmer](https://discourse.slicer.org/u/hemmer)\
**Post date:** [May 9, 2025, 11:31am UTC](https://discourse.slicer.org/t/adjusting-shift-volume-rendering-display-using-python/11731/5 "2025-05-09T11:31:01Z")

</div>

And the “shift” problem can be solved following here:

> [@How to set volume rendering preset using Python](https://discourse.slicer.org/t/how-to-set-volume-rendering-preset-using-python/3063/2):
>
> Hi Oliver, There have been some improvements since 4.8.1 that makes it easier for us to do this. So if you use the latest nightly, then this is what you can do: Easier setup of volume rendering (no need to create the display node and update it from the logic): volRenLogic = slicer.modules.volumerendering.logic() displayNode = volRenLogic.CreateDefaultVolumeRenderingNodes(volumeNode) This is not very clean, because it uses widgets from the volume rendering module, but you can apply a shift li…

---

_[View the full topic](https://discourse.slicer.org/t/adjusting-shift-volume-rendering-display-using-python/11731)._
