.NET add-in Win Form changed to modeless after execution
The form was launched via ShowDialog(). After clicking a button on it to execute a function, and while the form is still open, I noticed I can interact with ArcMap (remove layers, open layer attribute...
View ArticleCustom extension needs to shut down ArcGisCacheMgr.exe
We have a custom extension that ArcMap uses. On opening ArcMap, the extension checks to see if there are any updates to be made. If there are, the extension shuts down ArcMap and then starts it back up...
View ArticleLine featureclass to network dataset
Hello, I have questions regarding to network analysis. I'm using C# .Net. What I gonna to do is 1) Produce line featureclass from some prior steps 2) Convert line featureclass to network dataset 3)...
View ArticleStart editing programmatically - how to get the workspace to edit?
Hello experts, when trying to start an edit session programmatically I am a little stuck with the workspace to edit. Everything works fine, as long as I use feature classes belonging to a feature...
View ArticleConverting Symbology to a Representation (VB.NET)
Hello, I'm having trouble with converting a feature class to a representation that also converts its symbology to representation rules. I know this is possible within ArcMap. Basically what I'd like to...
View ArticleSummarize field Command
Hi all, I created an Addin to summarize a field using FeatureCount() method and add the result table into a list view. the purpose of the tool is to find duplicate atttributes. The code bellow works...
View ArticleLocating closest points
I have a point on line let say x,y and a list of points i want to find out the points closest to the point x,y at both ends for example ------------------------------ x1,y1...
View ArticleExport Annotation features from ArcSDE to Personal Geodatabase Feature Class
Hi I'm trying to export some annotation data out of ArcSDE into an annotation feature class in a personal geodatabase and I'm stuck. I've cloned the ArcSDE feature class to create a new feature class...
View ArticleLaunch toolbox script from .NET add-in?
Hello, Is it possible to use a button on a form in an add-in to launch a custom geoprocessing script (contained in a custom toolbox) such that the window pops up asking for parameters? I want the...
View ArticleGet results from programmatically-launched geoprocessing tool
So earlier I figured out how to launch a geoprocessing tool's dialog box from a .NET add-in: Code: IGPToolCommandHelper cmdHelper = new GPToolCommandHelperClass();...
View ArticleHow to dock the BaseToolbar within the ArcMap menu
Hi Folks, Here I have a question about how to dock the "BaseToolbar" on the ArcMap menu just like a regular ArcMap existing toolbar, I checked the "esriDockFlags.xxxxx", kindly there is no such an...
View ArticleCreate An IRouteLocator
Greetings All, I have written a tool that accesses the IRouteLocator to get the unit of measure. In order to test the tool, I need to attach an route locator to my M-Value linear feature class. I have...
View ArticleIs there a way to customise the Data Frame Properties > Coordinate System tab?
All, I was just asked if it was possible to add another folder to the display with a set of "approved" coordinate systems. The favourites folder is not enough as other coordinate systems could creep in...
View ArticleLooking for a component for validating a polyline FC
I want to validate a polyline FC. The criteria are: 1) Is there a gap between 2 neighbored features? 2) Is there an overlap? 3) Are there multiple parts? What Topology components should be used? Thanks...
View ArticleCan't find add-in component when adding new item to the project
Hi, I'm trying to creating a add-in toolbar with ArcObject 10.1 and Visual Basic.Net 2010. I first create new project and then trying to add a toolbar through "Project> Add New Item> Add-in...
View ArticleFailed to access to PGDB
Tried to access to a PGDB using the code below: public IFeatureClass GetFCfromPGDB(string fPath, string fName) { IWorkspaceFactory2 workspaceFactory = new...
View ArticleError opening designer: "...You must call Runtimemanager.Bind..."
Using the ArcGIS Engine Developer Kit 10.2.2, I installed the ArcObjects SDK for Microsoft .NET Framework, ArcGIS Engine, and the ArcGIS License Manager. My ArcGIS Administrator indicates the ArcGIS...
View ArticleAccessing ArcGIS Desktop Help
Hi there, I am looking for two solutions that are hopefully pretty basic, I'm not sure where in the documentation to look and I've been searching for a while with no luck. I'm pretty busy so I don't...
View Articleserialize arcobjects to json
what are my options to serialize arcobjects to json? arcobjects such as MapDocument, ILayer, etc. Note: these are not data objects, but layer definition objects defined in an mxd doc. i want find a...
View ArticleSet workspace name in source tab of contents view
I have written some code that will add a table to ArcMap via ODBC. In the source tab of the TOC in ArcMap, the workspace name is shown as "Bin", apparently the folder that my custom command lives in....
View Article