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

Is IPolygon2.QueryExteriorRingsEx Method not working in ArcGIS version 10.1 SP1?

I am updating my addins from 10.0 to 10.1 and my code is crashing on the IPolygon2.QueryExteriorRingsEx Method. I understand there is something strange going on with this method because Developer Help...

View Article


Selected Features from multiple layers in table of contents

I am able to get the ObjectID for the features only in the layer selected in the table of contents when I click the StartButton. I would like to be able to gather the selected items for multiple...

View Article


error (0x80004005) itable.search

Hi all. I have developed a button for arcgis 10.0 using Visual Studio 2010 Ultimate, it reads two file tables in a geodatabase and the result is stored in another table in the same file geodatabase....

View Article

Get Layers Edited in Version

Hello All, I am trying to find duplicates in the Id field from a verisoned workspace. Is it possible to get the layers list edited in a version so that i can avoid looping through all the layers in the...

View Article

Get IRelationshipClass from VersionDataChanges, IModifiedClassInfo - SOLVED

I'm getting all edits in a version by using VersionDataChanges. Once I create the VDC, I iterate through the results of VersionDataChanges.GetModifiedClassesInfo() I then use the...

View Article


Using ArcMap Addins In a Standalone Application

Using ArcObjects, I've developed several Addins for use within the ArcMap for Desktop (Basic) application. But now I would like to use some of these same Addins in a Standalone application. How do I do...

View Article

Customize the field editor in Arcgis

I want to customize the ArcGIS field editor such that it takes only required inputs (ex: takes inputs that are not special characters.) Is there any way to do it ? If yes then how ? thanks

View Article

Connect to Geodatabase Featureclass and/or shapefile

Hi All, This is probably very simple. I can load a geodatabase featureclass with IWorkspace::OpenFromFile and the FileGDBWorkspaceFactory CoClass and likewise with ShapefileWorkspaceFactoryClass for...

View Article


Utilizing Python Models through add-in button (C#)

Hello, I am trying to run a few GIS models (quite a few) through a button click and simple add-in form. I'd like to receive the messages sent back from the model into, say, a listbox or label. this is...

View Article


Configuring ArcGIS 10.1 developer workstation for Linux...

Hi Guys, I have some general questions on how to install ArcGIS products for a developer workstation and on Linux (Centos 6.3). Our organization will execute geospatial applications and services using:...

View Article

IGeoprocessor - Sort

Hi, I desperately try to implement the "Sort" Geoprocessor. Everything seems to be ok, except of the value "sort_field" where I want to implement a descent sort. What's the syntax in VB.NET to add the...

View Article

Could not Load File or Assembly

Migrating in numerous ways..... Trying to run an .exe (VS2010), from SQLServer 2005 DB as a SQL job. SQL DB is on x86 machine (Server 2003), .exe is on x64 (Server 2008 R2)machine, as is all ArcGIS...

View Article

error opening Workspace

I recently upgraded a server w/ Engine installed to 10.1 sp1 from 10.0. I have some code in a simple console app that creates XY events from a spreadsheet and then writes those features into a SDE...

View Article


Migrating from VBA to .NET vbModeless

Quick question that can hopefully be answered... I just migrated an old tool from VBA to .NET and I got all the kinks out except one bit of code that I can't find the answer to... In VBA, the user form...

View Article

Read Privileges of SDE Dataset

Hallo, I try to read Privileges of all Users/roles in a Dataset. That's my code: Code: Dim pDatasetName As IDatasetName pDatasetName = m_pDataset.FullName Dim pSQLPrivilege As ISQLPrivilege...

View Article


Image may be NSFW.
Clik here to view.

Assign Geometric Network connectivity using ArcObjects

Hi, Somebody knows if it's possible to assign using an ArcObjects method the connectivy between edges and nodes? We have two FC Junctions and Edges. Feature Class Junctions OBJECTID JUNCTIONID TYPE...

View Article

Which JAR contains the ICadDrawingDataset?

Hi, using Java SDK 10.1 I'm trying to load a DWG file. Code snippet from sample below. My question: Which jar library do I have to load to resolve the types ICadDrawingDataset, CadLayer,...

View Article


Method to get IFeatureClass

I am trying to create a method where I am able to select a specific layer and return the IFeatureClass of that layer. I used a return type double and it returns the correct value: 50. I would normally...

View Article

How do I create a polygon using points?

I have a set of x/y coordinates that I want to use to create a polygon programmatically.

View Article

How to cast a shape field from a table as a polygon, line or point feature...

Hi all, I am doing a search by attributes on a feature class and when I retrieve the whoe, record I would like to get the information in the attributes tables under Shape as a Point shape to obtain the...

View Article
Browsing all 1374 articles
Browse latest View live