POST
|
I am attempting to ask the user for a "proposal number" and simply zoom in on that proposal. I can call the Pop-Up Box and enter the value for the "proposal". But that value is not being passed into "SelectByAttribute_management" (see code below). Python says "AttributeError 'module' object has no attribute". Any help would be appreciated! Thank You. #Importing Modules import arcpy #Call PopUpBox try: arcpy.ImportToolbox(r"F:\Data\Arcadwin\Toolboxes\PopUp.tbx") result=arcpy.PopupInputBox_popup("A message from popup box") in_val=result.getOutput(0) print in_val.upper() except arcpy.ExecuteError: print arcpy.GetMessages(2) except Exception as ex: print ex.args[0] #Define WhereClause WhereClause = '"MCPC_Num"' + "='" + str(in_val) + "'" #Find the layer mxd=arcpy.mapping.MapDocument("CURRENT") df=arcpy.mapping.ListDataFrames(mxd,"Layers")[0] #Select by Attributes arcpy.SelectByAttribute_management("Year 2015 Proposals", "NEW_SELECTION", WhereClause) #Zoom to Selection df.ZoomToSelectedFeatures() #Refresh arcpy.RefreshActiveView()
... View more
10-06-2015
11:34 AM
|
0
|
2
|
1172
|
POST
|
Yes labeling street segments "properly" requires a large amount of time invested. However, once accomplished the final product will only have to be "maintained" when new streets are added or existing streets are re-aligned. The labeling engine I used only provided about 60% of the labels in the correct position and orientation. The remainder had to be "manually" adjusted!
... View more
07-06-2015
05:57 AM
|
0
|
0
|
971
|
POST
|
I use a different approach. Each street segment has a "width" value in the attribute table. Using this field it is possible to use the Buffer command to create a new feature class that is a double line. This feature class can then be symbolized any way you want. I will assume that you do not have a "width" field, however, the Buffer command allows you to insert an offset value for all segments.
... View more
06-11-2015
06:02 AM
|
0
|
0
|
426
|
POST
|
Wow, never heard that one before! Windows should use the fonts that you have loaded into your system, and publish them to the pdf file. I would eliminate any "English" fonts in the map, which might include any point symbols as they may also be a "font". Make a copy of your original map and do the testing on the copy.
... View more
08-25-2014
08:31 AM
|
0
|
0
|
179
|
POST
|
Yes this is what I use. However, I have both of the check marks turned off on this page. I also use a resolution that is divisible by 72. So click on the "Allgemein" button and change your resolution to 360 for "low" resolution or 1224 for "high" resolution. Once the .ai file is created, open Illustrator and each layer in your map should be listed as a sublayer in Illustrator available to edit.
... View more
08-21-2014
08:36 AM
|
0
|
3
|
780
|
POST
|
I use .ai to export from ArcMAP 10.2. I have been using this since version 8 with no problems. And my graphic designer is actually using Illustrator CS6 with no problems editing the exported map.
... View more
08-21-2014
07:19 AM
|
0
|
5
|
780
|
POST
|
I am not having any troubles editing the layer symbology going from ArcMAP 10.2 to Illustrator CS3. I export out using .ai and each layer appears as a sub-layer in Illustrator. At this point I can selet the individual entites and make changes. Which graphic software program are you using?
... View more
08-20-2014
07:34 AM
|
0
|
0
|
780
|
POST
|
I had the same problem and found that if I changed the name of the export file by entering in any text it worked fine. The default name is "Export_Ouput.txt", I would change this to "nnnOutput.txt".
... View more
11-15-2013
03:46 AM
|
0
|
0
|
257
|
POST
|
Hello, I have the same issue with our Zoning Overlay Districts. All of our base maps are rotated by 36.5 degrees. I start with the standard 10% crosshatch pattern for the overlay so that the underlying district is visible through the crosshatch. Using the Symbol Selector I click on "Edit Symbol" to get to the angle of each layer of the crosshatch. I change the angle of each layer by subtracting 36.5. So now the crosshatch angle uses 98.5 (135-36.5) and 8.5 (45-36.5). This fixes the map, however, I still need to create a "graphic" in the legend with the orginal crosshatch defintion of 135 and 45.
... View more
04-19-2013
05:17 AM
|
0
|
0
|
702
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|