Hi,Seg3D state variables for layers always begin with the layer id, which will be 'layer_#', with an unsigned integer to as the #. to fix this code, you have to find the layer id of the layer you want to change, e.g.:set(stateid='layer_0::display_max',value=200.0)You can find the layer id by opening the controller window and clicking on the state variables tab. look for the name in the layer_#::name variableAlternatively, if you meant to save the layer id in the variable s40_full, the command would be:set(stateid=s40_full + '::display_max',value=200.0)in this case, s40_full would be a variable with a string like this:s40_full = ['layer_0']hopefully that helps.cheers,JessOn Mar 18, 2015, at 7:41 AM, cb wrote:Seg3D is a convenient tool. If I can do most action with python, it will be great.But I can not set the display_max/min with python codes:"set(stateid='s40_full::display_max',value=200.0)"where s40_full is the name of the CT image series.
Archive powered by MHonArc 2.6.18.