
Please refer to my previous tutorials for creating a program and using the APSO console.įirst you need to define the variables provided by XSCRIPTCONTEXT. We’ll see how to manage them in a later post.Ī good way to illustrate the 4 different cell types is to play with them with a simple python code that will display in the console the type of cell selected in LibreOffice Calc.

I only changed one line that has nothing to do with accessing the source layer. I just created the tool for shapefiles from the script for the feature classes today.

We switched our server to a new company (MS Azure) a few months ago. The script for FC's connects to the database, but the one for shp's does not. I will add a screenshot of this to the original post. I have a script for shapefiles and a script for FC's that does the same thing. Normally I just paste the path and filename into the script tool's dialog, but that's not working. How can I connect the script to the database?

I have connected the folder the script's toolbox is in, but the script still can't find the database. It needs to access a feature class in an ArcSDE database so I can link the script to the layer as a source layer. I need to run a script tool from ArcCatalog.
