AnsweredAssumed Answered

Raster script output symbology problem

Question asked by nkioannis on Aug 27, 2014
Latest reply on Aug 28, 2014 by nkioannis

Hi,

I' am having a problem setting symbology in raster output of a python toolbox script.

The script runs fine, the output raster is correct and is added to display via SetParameterAsText, but the lyr file defined in parameters properties is not assigned.

Below is the definition of output parameter

 

# Final map         paramOut=arcpy.Parameter(             displayName="Output suitability map",             name="Output_suitability_map",             datatype="GPRasterLayer",             parameterType="Required",             direction="Output")         paramOut.Symbology= "D:\full_lyr_path.lyr"

Everything looks fine according to documentation, but symbology is not working...

 

Thanks in advance

John

Outcomes