POST
|
The problem was a field where records had 2 double quotes. Using the following for the Expression: calcCompliance(!rail_elem_cond!, !rail_ht!, '!rail_alignment!'.replace("\"","")) solved the problem. I got this from a post on Stack Exchange. Thanks for trying to help!
... View more
11-21-2012
09:11 AM
|
0
|
0
|
206
|
POST
|
I'm using VB.Net to create an ArcEngine application in ArcGIS 10.0 SP 4. I've put the ArcMap Find tool on the ArcGIS 10.0 Engine Toolbar Control. Is it possible to customize the Find tool to default to finding features in a specific layer? It defaults to <Visible layers>. I'd like the In: drop down to default to a layer I specify in code. Thanks!
... View more
04-06-2012
08:32 AM
|
0
|
0
|
598
|
POST
|
I have an existing mobile app I've taken over support/development of. It uses SelectionMapAction.SelectionFeatures to perform updates on selected features. The code constrains the selection based on a layer: selectionMapAction.SelectionLayers.Clear(); selectionMapAction.SelectionLayers.Add(layer); and then functions are performed on the results using: selectionMapAction.SelectedFeatures If there a way in mobile to constrain selection based on a queryfilter for the layer. All features in the layer are visible on the screen, but I want the select to only work on features that have a certain attribute field value. If this possible and if so, what is the best way to go about this? Thank you for any suggestions!
... View more
02-21-2012
10:47 AM
|
0
|
0
|
377
|
POST
|
Hello, We have a custom ArcMap toolbar that facilitates editing our zoning map - used every 4 years. The last time used we were using ArcGIS 9.2 and the below code worked successfully. Now we are using ArcGIS 9.3.1 and I am getting an error: Exception from HRESULT:0x8004056E I've copied the portion of the code that produced the error - the line producing the error is the StartEditing line. I've attached an image from ArcCatalog of the feature class' properties so you can see that it is versioned with move edits to base. Does anyone know if esriMESMNonVersioned is not working in 9.3.1 or if I need to do something differently. Again, this exact code worked in 9.2. Any ideas would be appreciated! Otherwise, I'll just create a version for it and edit the version. Thanks, Laure ' Get the current Editor option to edit a non-versioned dataset pEditProps = pEditor pEditProps.MultiuserEditSessionMode = esriMultiuserEditSessionMode.esriMESMNonVersioned ' Start editing Worksapce If Not pEditWorkspace Is Nothing Then pEditor.StartEditing(pEditWorkspace) ' Line producing error End If
... View more
07-28-2011
06:46 AM
|
0
|
0
|
561
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|