|
POST
|
I have to admit I have never utilised any snapping objects in ArcObjects so maybe an interface does exist? If not, are you saying the geometry you are snapping to has a Z value? If so, this is one way to do it: Cast your geometry into IPointCollection, cycle over this until you have the vertex you snapped to then query that vertex for a Z value. The method I am suggesting assumes you are snapping to vertices.
... View more
09-18-2013
05:37 AM
|
0
|
0
|
1219
|
|
POST
|
You can store custom tool bars in an mxd created via the menu option customize > customize mode route and then say distribute an mxd. You need to go to menu option customize > customize mode > Options tab and click on "Save all customizations to the document". This is something that appeared in 10.0.
... View more
09-12-2013
12:40 AM
|
0
|
0
|
2187
|
|
POST
|
You say "...let a user define a custom Toolbar with custom commands and menus on the fly and make them persistent". Is that not what the desktop menu option customize > customize mode all about? This allows the user to create a toolbar, drag any existing tool onto it and have their own customized toolbar? Look here on customizing a map document.
... View more
09-11-2013
03:03 AM
|
0
|
0
|
2187
|
|
POST
|
Aah... there is your problem, you are using Excel. Best bit of advice I can give to anyone is to avoid Excel like the plague! Because you can type anything into it people usually do and its always a formatting issue. I also find it flakey when trying to import data. So select the cells, headers and rows that contain the data and save as a CSV file. Use that to create a XY layer.
... View more
09-11-2013
02:51 AM
|
0
|
0
|
1779
|
|
POST
|
Correct Python AddIns only appeared in 10.1 so do not exist in 10.0 You say your tasks are to create toolbars with commands/menu but you don't say what these will actually do, this is what I was trying to get at? Are you intending to do complex fine grain manipulation of geometries (then ArcObjects is the way to go) or call upon existing geo-processing tools to improve a workflow (then may be python is your answer)? Why can't you use the addin wizard? With this you create the toolbar and controls, attach your code and then you have an addin which can be easily installed and distributed.
... View more
09-11-2013
02:12 AM
|
0
|
0
|
2187
|
|
POST
|
Christina, If the following extract is as exactly as you say it is then I'm guessing it is some sort of text file? Site Reference Lat Long
Achany Glen Dugmore et al. (1996) 57.983 -4.396
Beinn Eighe Dugmore et al. (1995) 57.63 -5.3 The problem is all the spaces and the computer is not intelligent enough to realise that the space in "et al." is part of "et al." and not a field delimiter. You need to ensure a consistent structure to your table with recognised delimiters such as a comma. I would recommend restructuring your text file to: "Site","Reference","Lat","Long"
"Achany Glen","Dugmore et al. (1996)",57.983,-4.396
"Beinn Eighe","Dugmore et al. (1995)",57.63,-5.3 Each field is separated by a comma and text is enclosed in "". Duncan
... View more
09-11-2013
01:21 AM
|
0
|
0
|
1779
|
|
POST
|
Kianar, What are you tasks? If it is using existing tools then python could be a solution. If you are doing serious number crunching then may be ArcObjects is the way. If you want fancy user interfaces then ArcObjects is what you need using VB/c# .net With the release of 10.1 ESRI created the Python Addin, this allows you to use your python coding skills with arcpy and create tool bars with buttons that can interact with the map. Have a look here. I've had a play with this and you can use all that is arcpy but you still cannot create an interface, although some python expert will hopefully tell me otherwise! Duncan
... View more
09-11-2013
01:12 AM
|
0
|
0
|
2187
|
|
POST
|
I don't think you can have an in-line substitution within an in-line substitution. So for example if you had: %name% = "fred" %id% = "33" Then a valid output name would be %name%_%id% which would create fred_33 An invalid scenario would be %name%id%% to correct this do %name%%id% Duncan
... View more
09-10-2013
07:05 AM
|
0
|
0
|
1790
|
|
POST
|
Have you looked on GIS StackExchange? There are several threads on boosting python performance, here is on page.
... View more
09-10-2013
06:47 AM
|
0
|
0
|
1883
|
|
POST
|
I have to admit I have never done a spatial join with field mapping but looking at the Help file it appears you create a fieldMappings object then add the tables. In your code you are not doing this, may be this is the source of the error? Duncan
... View more
09-10-2013
06:41 AM
|
0
|
0
|
2677
|
|
POST
|
I'm guessing you need your developer to create an extension that listens out for "on create of Feature" events. Look at the IEditEvents interface. This has an event handler that captures the on create of feature event which you could insert code to generate an ID in your field. Duncan
... View more
09-06-2013
08:43 AM
|
0
|
0
|
4179
|
|
POST
|
Bruce, Not come across that error before but as I interpret it, it is saying that pHELLayer exists already. Have you opened it in the other module you refer to? May be using the ReleaseInternals method on IGPUtilities may help? Duncan
... View more
09-06-2013
05:58 AM
|
0
|
0
|
1241
|
|
POST
|
Does each polyline measure start from zero (their from-end) and end at some length ( the length of the polyline, thus its to-end). If so you can create point events along each polyline with the route ID being the unique polyline ID (FID) field. The event distance would be the length of the line - 1 foot. So create a non-spatial table with a route ID field which would be the FID value and another field which would be the measure field. Hopefully your polylines are longer than 1 foot...
... View more
09-05-2013
07:45 AM
|
0
|
0
|
794
|
|
POST
|
Your link appears to be broken, can you correct it so we can understand what you are referring to?
... View more
09-02-2013
03:45 AM
|
0
|
0
|
583
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-03-2026 07:31 AM | |
| 3 | 06-29-2026 05:17 AM | |
| 1 | 02-15-2023 05:45 AM | |
| 1 | 06-16-2026 02:37 AM | |
| 1 | 06-15-2026 08:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|