Hi JD,
To use the script in a toolbox with parameters, you have to adapt the script so it reads the parameters. See the Help on "Accessing parameters in a script tool": ArcGIS Help (10.2, 10.2.1, and 10.2.2)
You will have to use the arcpy.GetParameterAsText() or arcpy.GetParameter() and arcpy.SetParameter() or arcpy.SetParameterAsText() to do so...
Kind regards, Xander
Hi JD,
As Xander points out you will need to modify your script to use the toolbox parameters. If you want to set default values for your script parameters you can do this in the Script Properties:
Owen
Also you environment workspace should use double backslashes, single fore slashes or raw notation...consult python documentation
Hi,
this discussion is about ArcPy ( python in arc gis ), thus not related to CityEngine.
I'd like to move this discussion to an other 'place' to keep the CityEngine place clean.
Though, I don't have admin rights at the moment, so I can't do this.
@ J 😧 Can you try and move this discussion to a better spot ? Otherwise, let me know, then I can organize this.
Matt