POST
|
Hello everyone, In my vb.net arcobjects application, for a new created feature I perform the following steps: 1. I enable "Display the attributes dialog before storing new features". 2. Fill in the attributes of the new feature. 3. On the attribute window, after user click "OK", I will do more actions. Currently I have no idea on how to handle the event on click the "OK" on the attribute window. Any idea on it? Thanks a lot! I am using arcmap 10.2.
... View more
11-03-2014
11:25 PM
|
0
|
0
|
1694
|
POST
|
Hi Asrujit, They will also upgrad the parent sde geodb to 10.2.2. Thanks for your advice. For the backup and XML, can do by scheduler script?
... View more
11-03-2014
07:47 PM
|
0
|
0
|
384
|
POST
|
Hello everybody, We have an IOS app to display map with several layers. Recently we upgrade to IOS 8.1, but the map layer features location shift. For example, we have a road layer, but the lines location not correct. Has anybody has the experience on it? Thanks in advance.
... View more
11-03-2014
07:35 PM
|
0
|
3
|
3002
|
POST
|
Hi Asrujit, Thanks for the reply, unfortunately our customer won't upgrade the sde.
... View more
11-03-2014
07:30 PM
|
0
|
0
|
384
|
POST
|
Greetings, We have 2 systems, each system has own arcsde geodatabase. The basic situation is: our side : child, arcsde version 10.1 the other side: parent, current arcsde version 10.1, soon will upgrade to 10.2.2. Now our side using replica to synchronize the schema and data from the parent side. I know we cannot use replica again, but we still need to synchronize the schema and data from the parent side, What is the best way to do the synchonization? Thanks a lot!
... View more
11-03-2014
06:10 PM
|
0
|
4
|
1633
|
POST
|
Hi Duncan, Thank you so much for the kind help. I will look further according to your suggestion.
... View more
10-23-2014
02:11 AM
|
0
|
0
|
522
|
POST
|
Hi Duncan, Thanks a lot for the answer. After I add the table name before the field name, it still not work. If I use: Dim nameFieldIndex As Integer = pFLayer.FindField("proj_db.DBO.Line.Seg_ID") Then the application will exit. If I use: Dim nameFieldIndex As Integer = pFLayer.FeatureClass.FindField("proj_db.DBO.Line.Seg_ID") It will still the strange result as described in the question. Totally no idea on it.....
... View more
10-22-2014
06:23 PM
|
0
|
2
|
522
|
POST
|
Hi Duncan, Thank you very much for the reply. But after I modify the code, the result still the same. The problem is caused by the line feature.store(). Is there errors other than the DBNull? Thanks.
... View more
10-20-2014
05:45 PM
|
0
|
4
|
522
|
POST
|
Dear all, I met a strange thing when I am trying to update value in attribute table. I am in editing session and after I perform feature.store and open the attribute table, there is no record in the attribute table. When I exit editing session, the records return, but the value not updated. My code is as follows: pActiveView = pMxDoc.FocusMap pMxDoc = My.ArcMap.Application.Document pMap = pMxDoc.FocusMap Dim layerNum = GetIndexNumberFromLayerName(pActiveView, "proj_db.DBO.Line") Dim pFLayer As IFeatureLayer pFLayer = pMap.Layer(layerNum) Dim featureClass As ESRI.ArcGIS.Geodatabase.IFeatureClass = pFLayer.FeatureClass If featureClass is DbNull.value then Return End If Dim feature as IFeature = pFLayer.FeatureClass.GetFeature(maxOBJECID) If feature is DbNull.value then Return End If Dim nameFieldIndex As Integer = pFLayer.FindField("Seg_ID") feature.Value(nameFieldIndex) = inputSegID feature.Store() There no error also. Don't know what is up in my code, please help me on it, thank you very much! I am using arcobjects 10.2.2.
... View more
10-19-2014
09:35 PM
|
0
|
6
|
2177
|
POST
|
Hi Mohini, Thanks for the reply, I have already solved the issue.
... View more
10-16-2014
05:46 PM
|
0
|
0
|
341
|
POST
|
Dear all, I am using vb.net arcobjects to run "intersect" GeoProcessing tool, but get "Object reference not set to an instance of an object" error. My code is as follows: Dim objGP As IGeoProcessor = New GeoProcessor Dim InputLayer = "dev_db.DBO.Segment;dev_db.DBO.LINE_1" Dim output = "D:\dev\Seg_line_intersect" objGP.OverwriteOutput = True Dim objParameters = New VarArray objParameters.Add(InputLayer) objParameters.Add(output) Dim objResult As IGeoProcessorResult = objGP.Execute("Intersect_Analysis", objParameters, Nothing) The error is: There are selected features in the segment layer. I am using arcmap 10.2.2. I failed to find what's wrong with my code, please kindly advice on it, thanks a lot.
... View more
10-13-2014
11:55 PM
|
0
|
2
|
2206
|
POST
|
Hello everybody, I am using Get Selected Feature Layer In Contents View by following the sample code from ESRI: ArcObjects 10 .NET SDK Help But sometimes there is no layer selected, which cause error in the application. I tried to find the way to select a layer through arcobjects (as in the following picture), but no luck. Anybody has any advice on this? I am using arcmap and arcobjects 10.2.2 and vb.net arcmap add-in. Thanks in advance.
... View more
10-13-2014
12:02 AM
|
0
|
2
|
3458
|
POST
|
Hi, You can use vb.net to perform the geoprocessing tool "Table To Excel". The default is to export the selected features. You can check the following link: vb.net arcobjects run "table to excel" gp get error
... View more
10-07-2014
08:28 PM
|
0
|
0
|
187
|
Title | Kudos | Posted |
---|---|---|
1 | 06-08-2014 07:03 PM | |
1 | 11-04-2014 06:13 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|