Disable column of Value Table in Python Toolbox (ArcGIS 10.3)

المشرف العام

Administrator
طاقم الإدارة
Can I disable a column based on another column?

Let's say I have a column to choose a field type (Short, String and so on) and a second column to choose the max length of a string. I would like to disable the second column if I've chosen a short instead of a string.

param = arcpy.Parameter("fields", "Param", "Input", "Value Table")param.columns = [['String', 'Field Type'], ["Long", "String Length"]]

أكثر...
 
أعلى