New answers tagged arctoolbox
Not sure I am understanding the workflow correctly but like Beck said I think this is does the trick. Foo is the original shapefile you are deleting all the features from, Bar is the layer you are copying features from. import arcpy # Data foo = r'C:\Path\to\layer\that\will\be\blank.shp' bar = r'C:\Path\to\layer\that\gets\copied.shp' # Delete Features ...
I realize this question is old but maybe someone will benefit from my contribution. I encountered same problem while working on Add-In for ArcMap 10.0. There is documented bug for 10.0 regarding IGPToolCommandHelper2 described here. I found workaround how to open tool's dialog and avoid "Failed to open tool SomeTool (SomeToolbox.tbx)" error. Here is the ...
This help topic should get you started -- basically you embed your toolbox in a Python package and install it in your local Python installation. Then your tool should show up automatically under system toolboxes.
You should add the toolbox to the Normal.mxt - and copy this customized Normal.mxt to each user's install files location. See the last section of the Fundamentals of saving your customizations help page for more details. So if I understand correctly (never tried myself): When opening ArcMap, ArcGIS uses the Normal.mxt from the user profile (usually ...
These 17 NDVI layers contains values range from -1 to 1. If you want to see the spatial variation i.e. where is the high/low vegetation then you need spatial analyst extension. Workflow for high vegetation is as below. 1.Load all 17 layers in the arc map and Cell Statistics Tool 2.Go to Toolbox>Spatial Analyst>Local>Cell Statistics 3.Set overlay ...
Sorry,My English is not so good.But it may be useful to you. You can use [Make Query Table] Tool in ArcToolBox: Add feature class and table to the input table. Select the required field in the field list(eg.table.trip,table.datetime...),Most important point is you must select your featrue class's shape field too. If you forget it,the result be a TableView ...
I think the problem is with what you are setting the output data type as. Here is a model that achieves the same thing as you are doing without the need of a separate python script! The Calculate Value tool is a model only tool which can use python if you need it.
In your python script file you should replace output = where with : arcpy.SetParameter(1, where) Then in your script tool's properties edit the parameters so that your output where clause parameter has a 'Data Type' equal to SQL Expression and a 'Direction' equal to Output (see image). Save your .py file and the new script tool properties and remove and ...
Top 50 recent answers are included