<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div><span></span></div>
<div>
<div><span style="background-color: rgba(255, 255, 255, 0);">Hello</span></div>
<div><span style="background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div><span style="background-color: rgba(255, 255, 255, 0);">I would like to add several threshold markers for volume solid rendering. I would like to do it in a script. I guess the only way is to do it through a python script.</span></div>
<div><span style="background-color: rgba(255, 255, 255, 0);">I tried modifying the solid_levels and solid_colors attributes of the active volume but I could not find how I can then get the depending volume attributes, such as transfer_function and the gui (both
rendered volume and the volume viewer dialog) to be correctly updated. Could anyone please give me a few pointers?</span></div>
<div><span style="background-color: rgba(255, 255, 255, 0);"><br>
</span></div>
<div><span style="background-color: rgba(255, 255, 255, 0);">Thanks in advance</span></div>
<div><span style="background-color: rgba(255, 255, 255, 0);">Ben </span></div>
<div>
<div id="">
<div>
<div><span style="background-color: rgba(255, 255, 255, 0);">-- </span></div>
<div><span style="background-color: rgba(255, 255, 255, 0);">Prof. BenoƮt Zuber</span></div>
</div>
<div><span style="background-color: rgba(255, 255, 255, 0);">Institute of Anatomy</span></div>
<div><span style="background-color: rgba(255, 255, 255, 0);">University of Bern</span></div>
<div><a dir="ltr" href="x-apple-data-detectors://1" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1" style="background-color: rgba(255, 255, 255, 0);"><font color="#000000">Baltzerstrasse 2</font></a></div>
<div><a dir="ltr" href="x-apple-data-detectors://2/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="2/0" style="background-color: rgba(255, 255, 255, 0);"><font color="#000000">Postfach 922</font></a></div>
<div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"><a dir="ltr" href="x-apple-data-detectors://2/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="2/0">3000 Bern</a> 9</span></font></div>
<div><span style="background-color: rgba(255, 255, 255, 0);">Switzerland</span></div>
<div><a dir="ltr" href="mailto:benoit.zuber@ana.unibe.ch" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2/1" style="background-color: rgba(255, 255, 255, 0);"><font color="#000000">benoit.zuber@ana.unibe.ch</font></a></div>
<div><a dir="ltr" href="tel:+41%2031%20631%2084%2040" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2/2" style="background-color: rgba(255, 255, 255, 0);"><font color="#000000">+41 31 631 84 40</font></a></div>
<div><a dir="ltr" href="http://www.ana.unibe.ch/research/experimental_morphology/index_eng.html" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2/3" style="background-color: rgba(255, 255, 255, 0);"><font color="#000000">http://www.ana.unibe.ch/research/experimental_morphology/index_eng.html</font></a></div>
</div>
</div>
<div></div>
</div>
</body>
</html>