|
POST
|
As per another forum discussion created a class 'Draw Tool : ESRI.ArcGIS.Desktop.AddIns.Tool' added 'Draw Tool' in 'Config.esriaddinx' under commands <Button id="DataCapture_DrawTool" class="DrawTool"...> Then get the IDs.DrawTool
button click event code:
Snippet UIDClass uid = new UIDClass(); uid.Value = ThisAddIn.IDs.DrawTool; ICommandItem commandItem = ArcMap.Application.Document.CommandBars.Find(uid, false, false); ArcMap.Application.CurrentTool = commandItem; At last line it thrown an error. Error description: An unhandled exception of type 'System.ArgumentException' occurred in DataCapture.dll Additional information: Value does not fall within the expected range Appreciate your help in advance.
... View more
06-01-2019
06:01 AM
|
0
|
1
|
1018
|
|
POST
|
We have dockable window with textbox and a button. The button run click event but need this button as a tool to capture polygon then update the attribute value in the polygon featureclass field.
... View more
05-31-2019
07:21 AM
|
0
|
2
|
1178
|
|
POST
|
A simple custom check If no features in the FeatureClass that need to mark an error without geometry but when run this custom check it is throwing an error given below. Error: Unable to get row for OID 0 in Table IPLTSError2 ipReviewerResult = new PLTSErrorClass() as IPLTSError2; ipReviewerResult.ErrorKind = pltsValErrorKind.pltsValErrorKindWarning; ipReviewerResult.LongDescription = "Dataset does not contain at least one feature"; ipRevResultCollection.AddError(ipReviewerResult);
... View more
05-23-2019
03:48 AM
|
0
|
5
|
1555
|
|
POST
|
We have a common field in the every FeatureClass (40 nos.) that need to validate using Execute SQL Check . After configure to one layer is there any possibility to repeat same configuration to all remaining layers instead of configure layer by layer.
... View more
05-13-2019
04:58 AM
|
0
|
1
|
710
|
|
POST
|
By sending different layer names through arguments in configuration it is solved!!!
... View more
05-13-2019
04:44 AM
|
0
|
0
|
529
|
|
POST
|
We have to count one specific field and compare with total number of features in the dataset that can do but to log report it is throwing an error given below. This error is just a record but not belongs to any FeatureClass. Error: "Error getting table . Unable to get row for OID 0." Snippet Interface :IPLTSCNTWorkspaceValExtension
IPLTSError2 ipReviewerResult = new PLTSErrorClass() as IPLTSError2;
ipReviewerResult.ErrorKind = pltsValErrorKind.pltsValErrorKindStandard;
ipReviewerResult.LongDescription = "CC feature count [" + ccFeatureCount + "] is more than Total Feature count [" + TotalFeature + "]";
ipRevResultCollection.AddError(ipReviewerResult); Is it mandatory to assign value to ipReviewerResult.QualifiedTableName = ipSourceDataset.Name;
... View more
05-01-2019
11:29 PM
|
0
|
1
|
638
|
|
POST
|
My development environment is .Net so please suggest on this.
... View more
05-01-2019
11:12 PM
|
0
|
0
|
1880
|
|
POST
|
Assuming you have .lyr files in a folder. Snippet ILayerFile layerFile = new LayerFileClass();
layerFile.Open(SymbolizeLayerPath);
IGeoFeatureLayer geoFeatureLayer = layerFile.Layer as IGeoFeatureLayer;
IFeatureLayer featureLayer = map.getLayer(0) as IFeatureLayer;
IGeoFeatureLayer gfl= featureLayer as IGeoFeatureLayer; gfl.Renderer = geoFeatureLayer.Renderer;
... View more
04-23-2019
05:50 AM
|
0
|
0
|
841
|
|
POST
|
Thank you for sharing a link. Can you please explain how to use this script in Data Reviewer ?
... View more
03-26-2019
09:29 PM
|
0
|
2
|
1880
|
|
POST
|
Hello, We want to perform a check for polylines, polygons and points, if any feature lat/long values not between -180, -90 and 180,90 it should be an error. In the suggested configuration between function not allowing negative values. Please suggest how to configure this check.
... View more
03-22-2019
03:05 AM
|
0
|
4
|
1880
|
|
POST
|
Please let me know how to check if any feature has a longitude value that is less than –180.00000 or greater than +180.00000
... View more
03-02-2019
12:47 AM
|
0
|
8
|
2310
|
|
POST
|
I think you have to set T2d to Element.Geometry = T2d.
... View more
06-26-2018
11:48 PM
|
0
|
0
|
967
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-02-2014 09:02 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|