Quantcast
Channel: Forums - ArcObjects SDKs
Browsing all 1374 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

About ControlsAddDataCommandClass

Hi everyone, when i used Add data dialog in arcengine application, dialog is opening but sometimes when i selected multiple layer , just added last selected layer, for example , selected 5 layer in...

View Article


Accessing Style References via ArcObjects

I am looking for a way to use ArcObjects to loop through all of the Style References that are checked within the Style Manager, looking to see if a particular style has been checked. I know that you...

View Article


Image may be NSFW.
Clik here to view.

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 Article

Symbology 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 Article

Image may be NSFW.
Clik here to view.

Custom 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 Article


Image may be NSFW.
Clik here to view.

How to open a fully functioning attribute window with ArcObjects from ArcMap?

Hi Everbody: I try open an attribute window for a feature layer with ArcObjects Code: targetWindow = new TableWindowClass(); targetWindow.Layer = targetLayer; targetWindow.Application = app; if...

View Article

Arcengine license issues when calling arcobjects executables from arcpy

Arcobjects executable: Code: using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using ESRI.ArcGIS; using ESRI.ArcGIS.esriSystem; using...

View Article

IreclassOp retainMissingValues error

Hi, I think there is an error in the IReclassOp parameter ""retainMissingValues", documentation explains the contrary of what happens. "a Boolean specifying whether to keep missing values in the...

View Article


Periodic crashes of update set of features of shape file

I use arcObjects 2010 in VS 2010. From time to time I must refresh set of features. I delete all features and then create new set of fertures in accordance with the current contents of the database...

View Article


GPEnv - Multithread

Hi, I have a C# application that uses multithreading and GP Services for vector treatments. Initialization is a follows Code: IGPUtilities gpUtil = new GPUtilitiesClass(); IGPEnvironmentManager gpMng =...

View Article

Can't get the 3 dlls for Meatadata: ESRI.ArcGIS.ItemIndex,...

The CustomMetadataEditor project was Sourced from ESRI and used for customizing metadata editing. When I open the solution, and found 3 missing dll's:ESRI.ArcGIS.ItemIndex ESRI.ArcGIS.MetadataEditor...

View Article

Does the 10.2 ArcGIS Engine Attribute Editor use date pickers for date field...

10.0 and 10.1 don't. Badly formatted dates have been causing issues with distributed geodatabases at synchronization time. We want to force our users to enter valid dates. So.... Does the attribute...

View Article

How to get the Map Unit in ArcScene

Hi all, I want to get the map unit in ArcScene. I can use the IMap.MapUnits if I work in ArcMap. But what is the equivalent of this property in ArcScene? Thank you.

View Article


Image may be NSFW.
Clik here to view.

Data Joins and Relationships

Say I have the two attached tables that I want to join together in code using the "J_Fld". As you can see, it is a one-to-many join and there will be one row in the left table that does not have a...

View Article

How do I get a reference from the ArcMap 10 application?

How do I programmatically get a reference from ArcMap application? I'm developing a new toolbar with a couple of tools in ArcGIS 10 with C# .Net. I'm sure you use the IApplication interface, but not...

View Article


Image may be NSFW.
Clik here to view.

ArcObjects Licence problem after ToolbarControl is added

Hello, I´m pretty new to ArcObject. I have a quite strange problem with my first application. I´m working with VS 2012 and ArcObject 10.2. When I add to window Licence control, MapControl and TOC...

View Article

Refresh open Table in Arcamp

I "stamp" a position with the GPS-Tool to the Log-File saved in a filegeodatabase. In the map and the table window I always like to show the actual Log-File. I can refresh the view but not the opened...

View Article


How to get the extent info of a TIF file using arc objects

Hi, I need to read the extent of a TIFF file using arcobjects. Can anyone suggest me which inteface/class to use? Thanx, Pankaj Roy

View Article

ILayer::Draw is not called on my custom layer (C++ and OpenGL).

hi, I am trying to create a custom layer in C++ and OpenGL for ArcScene. I have implemented ILayer, IGeoDataset and IGraphicsContainer3D. The layer is added to the scene and shows up in the TOC. When I...

View Article

Event when a Button of an Extension is pressed

I'd like to register a click or execute Event when a Button (stamp current position to log) in the GPS Extension was pressed. I already can gain access to the ICommandItem: Code:             Dim...

View Article
Browsing all 1374 articles
Browse latest View live