In a .pyt I can define parameters as described in :
ArcGIS Help (10.2, 10.2.1, and 10.2.2)
I have created a boolean parameter, the code snippet is as follow:
| def getParameterInfo(self): |
| | """Define parameter definitions""" |
... some other parameters ...
| | # 3. Overwrite |
| | param3 = arcpy.Parameter( |
| | displayName="Overwrite Existing OBJ", |
| | name="Overwrite", |
| | datatype="GPBoolean", |
| | parameterType="Required", |
| | direction="Input") | |
The parameter works, but it anoys me that it defaults to True, I would like it to default to False.
v.h. Martin