AnsweredAssumed Answered

Default arcpy.GetParameterAsText(0)

Question asked by jay.kapalczynski on Nov 15, 2016
Latest reply on Nov 15, 2016 by rastrauch

Is there a way to default Get parametersAsTest

 

Where when I run the tool it will be defaulted unless the user changes it.

 

def main():
sde_conn = arcpy.GetParameterAsText(0) or "C:\Users\xx\AppData\Roaming\ESRI\Desktop10.4\ArcCatalog\x@x.sde"

Outcomes