POST
|
Hi, Please help me to overcome the following problem. I have the following simple code. ESRI.ArcGIS.Geodatabase.ITable pTable = pFClass as ESRI.ArcGIS.Geodatabase.ITable; ESRI.ArcGIS.Geodatabase.IRow pRow = pTable.GetRow(1); int fldIndex = pRow.Fields.FindField("Comments"); pRow.set_Value(fldIndex, "WWWW"); pRow.Store(); I am getting an error "Item not found in this collection" at Store() Method. After doing some research, I found that, this feature class is having some relation and that relation is having forward notification. If I delete this relation and create same relationship without notification, I could able to use Store() method without any error. Please help me to update the features in this Feature Class with Relationship having notifications. Many Thanks, Regards, Sreekar Masani.
... View more
10-19-2013
05:26 AM
|
0
|
0
|
390
|
POST
|
It is beeter to use geoProcessing tools instead of writing our own code if one is available in GPTools. Geoprocessor gProcess = new Geoprocessor(); IVariantArray varArray = new VarArrayClass(); varArray.Add(@"...\MyPGDB.mdb\DatasetTwo\Line_2"); varArray.Add("MyNewField"); varArray.Add("TEXT"); gProcess.Execute("AddField", varArray, null);
... View more
07-16-2012
11:36 PM
|
0
|
0
|
645
|
POST
|
Thanks Rick, I could able modify the label, when an element is selected. The problem with me is, When select few lables, I do not see any elements get selected. Actually Diagram type are created by our customer. I do not know what are the properties he have set to that diagram type. I just wnated move multiple labels at a time using VBA code. If elements also got selected, I am able do that. But when there is no related schematic element got selected (Label is in selection), I couls not able find the selelcted lable. Is there a way to fine the selected lables only without the element selection. Thanks for your support.
... View more
12-03-2011
12:46 AM
|
0
|
0
|
206
|
POST
|
Hi, I am using Arc GIS 9.3.1 with Schematics Extension. I am using following code to get the selected elements in the current view. Dim pElements As INgElements Set pElements = pScProject.SelectedElements I need to get the selected labels. If the element is there then I cound able to select the elements and then process the attached labels. can you please suugest me how get the selected lables Only. Thanks in advance, sreekar masani.
... View more
11-11-2011
03:22 AM
|
0
|
3
|
310
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|