# Any python script can display volume rendering automaticlly after load the DICOM files?

**URL:** <https://discourse.slicer.org/t/any-python-script-can-display-volume-rendering-automaticlly-after-load-the-dicom-files/4527>\
**Category:** Support\
**Tags:** volume-rendering\
**Created:** [October 25, 2018, 9:52am UTC](https://discourse.slicer.org/t/any-python-script-can-display-volume-rendering-automaticlly-after-load-the-dicom-files/4527 "2018-10-25T09:52:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiang\_luo](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jiang\_luo](https://discourse.slicer.org/u/jiang_luo)\
**Post date:** [October 25, 2018, 9:52am UTC](https://discourse.slicer.org/t/any-python-script-can-display-volume-rendering-automaticlly-after-load-the-dicom-files/4527/1 "2018-10-25T09:52:58Z")

</div>

Operating system:  
Slicer version:  
Expected behavior:  
Actual behavior:

After load the dicom files. the MPR can display automaticlly. but the VR can’t display , any method that can made the VR display automaticlly ??

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 25, 2018, 1:03pm UTC](https://discourse.slicer.org/t/any-python-script-can-display-volume-rendering-automaticlly-after-load-the-dicom-files/4527/2 "2018-10-25T13:03:55Z")

</div>

You need to copy a couple of lines to your .slicerrc file. See detailed instructions here: [https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Show\_volume\_rendering\_automatically\_when\_a\_volume\_is\_loaded](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Show_volume_rendering_automatically_when_a_volume_is_loaded)

---

<div class="post-metadata">

**Author:** ![jiang\_luo](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jiang\_luo](https://discourse.slicer.org/u/jiang_luo)\
**Post date:** [October 26, 2018, 3:05am UTC](https://discourse.slicer.org/t/any-python-script-can-display-volume-rendering-automaticlly-after-load-the-dicom-files/4527/3 "2018-10-26T03:05:45Z")

</div>

Many Thanks…i have solved this problem…
