AnsweredAssumed Answered

How to Disable Input Field with Python Toolbox?

Question asked by alantoms on Jun 29, 2012
Latest reply on Jun 29, 2012 by alantoms
I???m creating a tool with the new to 10.1 Python toolbox.  I???ve reviewed the help but do not see how to disable an input parameter field.

Input parameter[0] is a feature class.  I have code in the updateParamaters definition to identify what shapeType it is.  That portion works

What I would like to do is to disable the input parameter[1] field based on parameter[0].  Basically if it is a point feature class, I want the next input field to go gray and not allow an input.  Anyone have suggestions or a link?

Thank you
Alan

Outcomes