GPUtilities Class Problem
I'm trying to use a call to the GPUtilities class 3 times in 2 modules in the VB.NET addin I'm developing (ArcGIS 10.0, VS 2010). Since it is a singleton object, each time it is declared with: Code:...
View ArticleSymbology is copied successfully but symbology rotation is not
Hi all, I tried to copy symbologies from a layer to another layer. And this is my code: Code: Dim symbolFLayer As IFeatureLayer symbolFLayer = pMxDoc.FocusMap.Layer(indexSourceLayer) Dim pGeoFLayer As...
View ArticleCustom Geoprocessing tool crashes
I'm trying to create a custom geoprocessing tool using the Java API in Eclipse, and I'm having a few difficulties. My tool kept crashing, so I did some debugging and it never even hits the execute...
View ArticleRe: Manual creation of polygon that crosses dateline
Alexander, Thanks for the reply. That sounds like the best way (cutting at 180) to do it for us. We are using GCS and also these polygons are global coverages that differ, so there will always need to...
View ArticleUpgrade Add-in project to Visual Studio 2012
Was using Visual Studio Express 2010 with 10.1. With upgrading to 10.2 also moving up to VS Express 2012. But when I open a add-in projected in VS Express 2012 and try to debug the add-in does not get...
View ArticleСopy feature in new layer
Hi, I have one problem! How to copy an object from the layer selected by the filter, in another new layer. I can get the selected feature, but how to add it to a new layer don't know: (
View ArticleOpen an Attribute Table/Database Table Using a Combo Box From ArcMap
I'm new to using the Add-in Controls and Visual Studio. I am trying to create an application toolbar with a combo box that will open tables. Of the 4 items, 3 are tables and one is a point feature...
View Articlegenerate WFS through ArcObjects?
Hi, all. I am wondering whether there is a way to programmatically generate WFS service through ArcObjects. The only thing I found is WFS to Feature Class function. Can someone point me where I can...
View ArticleITable Selection as Input
I have a .NET application that uses an ITable to input into the Append Class from the DataManagementTools Namespace. I would like to send a subset of the ITable selected rows as input to the Append...
View ArticlePoint/Polygon label rotation with data frame
Hey all, I'm curious if there's a control for "Rotate point and polygon labels when data frame is rotated" under the standard labeling options. I've got a few MXD's with about 5 data frames each and...
View ArticleDebug target is missing - how to set in VS 2010 Express?
I updated ArcGIS from 10.1 to 10.2 and recompiled all Addins with ArcObjects 10.2. I am having an issue with 1 addin that accesses a custom tool in a toolbox and want to debug the project. However,...
View ArticleArcMap crashes on Close with custom toolbar
Hello, I've created a custom toolbar for ArcMap 9.2 32- bits on Windows 7 64-bits that works very well. The problem is, when I close ArcMap, I receive a Run-Time error message that pops up then...
View Articlehow to select the start for rubber band
I am trying to use the rubberband class. Normally this would be done from a tool on the map, but due to the request this has to be from a menu option and not the tool bar options, When I then use...
View ArticleIExportColladaFile.MultiPatchToCollada AccessViolationException
Hi, everyone. I faced an AccessViolation exception while using the IExportColladaFile's MultipatchToCollada method. I try to save a textured multipatch geometry in Collada format. Have to say that the...
View ArticleProblem getting the map
I have a problem with the following line of code, I use a SOE. Code: public static IMap getMyMap(IServerObjectHelper serverObject) throws IOException{...
View ArticleGetTextSize method
following code will get me xSize and ySize, but as i zoom in and out i can see that text size stays constant, but size should be longer if i zoom out, if i understand right Size is in ppi(point per...
View Articlecreate rasterdataset without Spatial reference. (s.r. is defined) is it BUG?
Hi i create raster dataset (GRID) like this: pRasterDataset = pWs.CreateRasterDataset(sRasterDatasetName, "GRID", origin, pRastProps.Width, pRastProps.Height, pRastProps.MeanCellSize.X,...
View ArticleVB.Net - ArcGIS 10: ISimpleMarkerSymbol and IStyleGalleryItem
Dear all: I would like to asign different marker symbols to an unique value renderer. But at the line "pMarkerSymbol1 = pStyleGalleryItem.Item" in the Do while ... Loop it gives me an error. I have to...
View ArticleArcObjects and SOEs in ArcGIS Server 10.2
Am I correct in my understanding that at 10.2, the only way to run ArcObjects in the Server is in the SOE, not in the SOAP client? The examples I'm seeing for SOEs in 10.2 use a client stub and the...
View ArticleAdding Event Handler - Delete Graphic Element
Hey all, I've got a quick question regarding event handlers. I have a program to lock and unlock graphic elements in the page layout (text, etc...). The issue is that "locked" (IElement.Locked = True)...
View Article