Tag Info

New answers tagged

1

Attached below is a modification of your code that works. Shortly, the problem was the use of outputs names, as follows: # Local variables: Output_Feature_Class = Input_Table Output_Feature_Class__2_ = Output_Feature_Class Output_Feature_Class__3_ = Output_Feature_Class__2_ Output_Feature_Class__4_ = Output_Feature_Class__3_ Output_Feature_Class__5_ = ...


0

Looking at your python version, it appears you are not setting the length of the text fields when you add them, you must do this, it is not optional for a text field. This would explain why the assign default would fail.


0

You might be able to do one Select By Attribute query with the first part of the query, and then do another Select By Attribute query with the second part of the query but change the selection method (drop-down in Select By Attribute dialog box) to 'Select from current selection'. So: WHERE "field_1" = A OR "field_1" = B Change the selection method to ...


3

possibly something like this should get close i would think: "field_1" IN ('A','B') AND "field_2" IN (1,2)


1

Here is a python solution (in field calculator). I give an example with a polygon layer. Each one holds a name value in its name Field, e.g.: "A" and "B". After creating representaion for this layer, I have got this image: Namely, I have created a 1-rule representation, using red stroke line with width 1. Than I would like to change "all" the strokes ...


2

'Export data' does not retain subtypes...use one of the geoprocessing tools like 'Copy Features' or 'Feature Class To Feature Class' -- if you do this within the same ArcGIS process or 'session' as I like to think of it as (such as the current map doc within which you have interactively selected features), then selected features are honored, subtypes are ...


1

If you look at the help file for any tool, there is a section called Environments and this lists the environment settings that particular tool honours. Add Join honours "Qualified Field Names". So if you un-tick this then the table name should be dropped from the field name. I know that the Copy Features tool also honours this setting. You should get into ...


2

Think you have to modify the model environment variable for fields not to use qualified field names...I don't remember doing that in a model but in principle it is the equivalent of turning 'off' (setting to false) with arcpy.env.qualifiedFieldNames = False, see this: http://desktop.arcgis.com/en/desktop/latest/tools/environments/qualified-field-names.htm ...



Top 50 recent answers are included