POST
|
If you leverage the ExportToPDF method of the mapping class you'll have to export each page one at a time and then append them into a single document. If you're using data driven pages and you want to export all of the pages to a single pdf in one go use the exportToPDF method of the data driven pages class instead of the ExportToPDF method of the mapping class. Data Driven Pages http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/datadrivenpages-class.htm I've highlighted the property you're looking for below.
... View more
05-02-2016
05:30 AM
|
2
|
0
|
870
|
POST
|
Trying adding a global boolean static property to your button class and leverage it in the onclick event to govern your even/odd click behavior. You could initialize it in the constructor of the class and then toggle its value within your onclick event.
... View more
05-02-2016
05:25 AM
|
0
|
0
|
191
|
POST
|
If the form is modal it should always appear on top. If the form is modeless you should be able to set the TopMost property to true, which should keep it on top. How to: Keep a Windows Form on Top
... View more
04-27-2016
11:21 AM
|
0
|
1
|
263
|
POST
|
Hi Ron, Which version of the .NET Runtime does this book reference? I know I'll get questions about this books once it's released and I'm wondering if it will cover the Quartz Release of Runtime .NET.
... View more
04-26-2016
11:29 AM
|
0
|
1
|
449
|
POST
|
If you already have a tool on a toolbar that displays the labels you would use the following code to find the command and just call ICommandItem.Execute to execute the command. desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#2ffb7cab-820e-4581-970f-49c887108f87.htm I don't recall any out-of-the-box commands that display labels. In my code I display the labels using IGeoFeatureLayer.DisplayAnnotation. This is mentioned starting on the following page. Working with labels and annotation (ArcObjects) http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Working_with_labels_and_annotation/0001000000nt000000/
... View more
04-26-2016
11:15 AM
|
1
|
1
|
654
|
POST
|
The code most likely threw the error on your first call to Copy Rows because "TABLE" is a SQL Reserved word. You can look at the following page for more information on this topic. Using in-memory workspace—Help | ArcGIS for Desktop
... View more
04-15-2016
01:22 PM
|
1
|
0
|
1487
|
POST
|
ModelBuilder doesn't provide a functionality to implement if-then-else logic out of the box. You would have to leverage python to implement this, but there are several approaches you can take. Try taking a look at the following page to see if this may be easier for you to implement. Using If-Then-Else logic for branching—Help | ArcGIS for Desktop
... View more
04-08-2016
01:25 PM
|
1
|
0
|
268
|
POST
|
Is the table you're needing to edit registered as versioned?
... View more
04-06-2016
07:18 AM
|
0
|
0
|
5121
|
POST
|
Have you tried stepping through your codes logic in Visual Studio? It sounds like you're getting an unhandled exception in your code that is causing ArcMap to crash. If the debugger doesn't allow you to step through the code navigate to C:\Program Files (x86)\ArcGIS\Desktop10.3\bin, open the ArcMap.exe.config file and check the you have debugging against .NET 4 enabled. <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime version="v4.0.30319"/> <!--<supportedRuntime version="v2.0.50727"/>--> </startup>
... View more
04-06-2016
06:21 AM
|
0
|
0
|
322
|
POST
|
What happens if you supply the workspace instead of the name of the layer from the workspace? edit = arcpy.da.Editor(conn) or edit = arcpy.da.Editor(arcpy.env.workspace)
... View more
04-06-2016
06:11 AM
|
2
|
2
|
5121
|
POST
|
To update the data the first cursor needs to be an update cursor and after setting the value for the field you'd want to call the updateRow method to commit it. See the example at the bottom of the following page. UpdateCursor—Help | ArcGIS for Desktop
... View more
03-23-2016
08:07 AM
|
2
|
1
|
1089
|
POST
|
What happens if you use the 64 bit instance of the python exe that comes with the background gp/ArcGIS Server install? It should be in a path similar to C:\Python27\ArcGISx6410.3. If you're not using ArcObjects to process anything you shouldn't need to have any references to any ArcObjects classes in your code. Are you just needing a c# console application to run a script against 64 bit python?
... View more
03-14-2016
11:35 AM
|
0
|
0
|
242
|
POST
|
import math
def winddir(DIR, V, U):
if V > 0:
return (180/math.pi) * math.atan(U/V) + 180
elif U < 0 and V < 0:
return (180/math.pi) * math.atan(U/V)
elif U > 0 and V < 0:
return (180/math.pi) * math.atan(U/V) + 360
elif V == 0 and U > 0:
return 270
elif V == 0 and U < 0:
return 90
winddir(!DIR!, !V!, !U!) Calculate Field examples—Help | ArcGIS for Desktop
... View more
03-11-2016
07:35 AM
|
5
|
0
|
1893
|
POST
|
Hi Jason Graves, I have logged a bug for this issue and it appears that we will be addressing this issue in a future release. If you have access to Esri Support please log a ticket and we can get you attached to the bug I logged for this issue.
... View more
03-02-2016
12:41 PM
|
0
|
0
|
908
|
POST
|
It looks like 10.2.4 was applying a transformation and 10.2.6/10.2.7 aren't applying the transformation. I can get both results using python against ArcGIS for Desktop 10.4.
... View more
02-25-2016
08:30 AM
|
3
|
0
|
558
|
Title | Kudos | Posted |
---|---|---|
1 | 11-16-2015 09:00 AM | |
1 | 09-15-2015 10:49 AM | |
1 | 10-05-2015 05:08 PM | |
1 | 10-01-2015 03:21 PM | |
1 | 11-25-2015 09:05 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|