POST
|
Sorry for the delay in replying. The script works when I run in Python window in ArcMap. It renders the symbology correctly. The stand alone script does not render the symbology correctly.
... View more
11-09-2017
12:17 PM
|
0
|
1
|
494
|
POST
|
I have a python script that was initially running with ArcGIS Desktop 10.0. The script runs a bunch of analysis and then creates maps and exports to jpeg images. Prior to exporting ot jpeg, the script also defines the symbology of the map layers from some pre-defined saved layer files (.lyr). Recently, the ArcGIS license was upgraded to 10.4. The scripts works fine without any errors and produces all results. However, the symbology does not render in the new maps and ArcMAP sets some default color symbologies. Also, I checked the part (arcpy.ApplySymbologyFromLayer_management) which imports the symbologies within the ArcMAP python built-in window and it works correctly. I cannot figure out where the disconnect is in my stand alone script. Please help. Note: Due to company policy I cannot share the code here, but any insight into the matter will be helpful. Thanks
... View more
11-07-2017
08:01 AM
|
0
|
4
|
1485
|
POST
|
I have developed a python toolbox (.pyt) with a couple of scripts as individual tools. I would like to develop Help or tool descriptions for each of the tools, so that when a user clicks on any parameter on the tools, the right side of the tool window gives out a description/explanation of the parameter just like a default ArcGIS tool displays (shown in the picture below). How can I achieve this same functionality in my custom toolbox scripts? I know how to do it through ArcCatalog, but I want to achieve this within the script itself. Thanks
... View more
11-01-2017
12:49 PM
|
0
|
4
|
2898
|
POST
|
Thanks for your tips Xander! I still cannot get the tool to work right with my local variables. The main issue is with the the expression and the field list. I want only some fields from the feature class and one field from the table. I was able to get the list of these fields and also the SQL expression that you suggested worked fine outside the tool. But once I compile all these variables into the tool in python, it fails. Any suggestions on that? Regards Ananya
... View more
02-05-2014
07:56 AM
|
0
|
0
|
184
|
POST
|
I am trying to execute the Make Query Table tool using Python scripts following which I will incorporate other tools as well. I have set all the required parameters for the tool to run; the input feature class, input table, the field list and the expression, etc. However, I get a Runtime error that says "RuntimeError: Object: Error in executing tool". I am attaching the script here for your reference. I will really appreciate if someone can offer me some advice as to where I am making a mistake or what am I missing and how I can get this to work. I am a beginner with Python and any suggestions will be really helpful for me to build upon. Thank You!
... View more
02-04-2014
10:37 AM
|
0
|
2
|
639
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|