3D Label on ArcScene with ArcObjects without OpenGL
Hello, I have been searching a way to create 3D labels in ArcScene using ArcObjects. My plan is to display labels for each features (points, or polylines, or polygons), and take the text label from a...
View ArticlePolygon - line intersection problem
Hello, I am facing a problem when trying to find intersection points between a donut like polygon and a line using ITopologicalOperator.Intersect method: Code: Â // The polygon has already been casted...
View ArticleHELP: Problems setting mouse cursor for AddIn tool
Hi everyone. Looking for a little help. I'm re-developing some VBA Macros into an ArcDesktop AddIn. I have a [Tool] coded that's used to select the point on the map used as the focal point for a...
View ArticleShow New SDE Connection Parameters After Running Add-In
To All ArcGIS Developers: I am creating an Add-In in VB.NET that will update the SDE connection parameters as the Oracle Client on individual GIS workstations is being upgraded from 10g to 11g. When I...
View ArticleJoin roads between complex roundabout junctions
Hello all, Could anyone give me some advice on how to use ArcObjects to automatically detect and join two streets which have a complex junctions in between, just as the figures below. in hurry!!!...
View ArticleMultiple ArcObjects SDK Versions
Is it possible to have multiple SDK versions on the same machine? I have a development machine with Visual Studio 2010 & 2012 installed. I need to keep both for now so I can build some extensions...
View ArticleIEditSketch help
I am trying to create a polygon and I am having trouble with the IEditSketch3 interface and Geometry IPoint Interface. Some Relevant code: Code: pEditSketch = editor point1 =...
View ArticleReplacing ADODB connection when migrating VBA to VS10
I'm working thru migrating VBA code to VB.net. I've hit this module which uses an ADODB connection to an access 2000.mdb. The ADODB is marked as an error and the visual studio suggestion was to change...
View ArticleScript for mousedown event for adding basemap
Reposted from ArcGIS for Desktop - General at the suggestion of GeoffAppleby Hi, I am using the following script in ArcGIS 9.1 to add basemaps using a single click on my map (i.e. whereever I click on...
View ArticleIEnumLasPoint - Reading into array
I cannot retrieve more than a single point from a Las point enumerator. The Next() method definition says that the enumerator can retrieve several points into an array. However, the accepted parameter...
View ArticleDetermine DataSource in VB.NET
To All GIS VB.NET Developers: What object of ILayer (layer in an mxd) can I use to determine if the layer is sourced from an SDE database? In the past if I had a raster layer from SDE I used the...
View ArticleReplacing parts of polygons
Hello, my problem is the following: I have a master-featureClass (polygons) and a slave-featureClass. Inside the slave-class there are features that are more or less equal to the ones inside the...
View ArticleListening to Database connection dialog box
I am developing an ArcGIS extension with .NET and Desktop 10.1 The extension is creating an sde connection file on the fly and connect to the database When the user use any of the toolbox like (Select...
View ArticleCreating toolbar text inputs to auto populate fields on feature creation
Hi, I want to setup a toolbar that users can input the common details about a particular edit session, such as install date, as built document reference, etc etc And then have these values auto...
View ArticleDate from UserForm as input to SQL Query
I am just wondering how to place the values from my userform into the IQueryDescription SQL code. I know this is a pretty entry question, but am just held up at this last step. Currently, the FM_DATE...
View ArticleCreating a Polygon for VB.net
Does anyone know a good way to create a polygon out of points in Vb.net?
View ArticleQueryDef with SDE (FeatureQueryClassName)
Hi! I'm using a queryDef to join two featurceclasses and built a new featureclass. Later this new featureclass is seleted by queryfilter and the selectionset is used to make a featureselection. So I...
View ArticleFetching SDE Feature Layer properties (9.3.1)
I would like to automate creating some documentation, and to do this I need to query the metadata belonging to an SDE layer. Unfortunately using my code, I receive the following error:- Code: Run-time...
View ArticleBasic question, HELP NEEDED - Urgent Please
Hello, I want to develop using Arcobjects SDK with Qt framework, I have the version 10 and 10.1. Installed the SDK for .Net with VCPP support. Problems : I cant find the include files as described here...
View ArticleArcMap's Default FeatureExtent
When selecting a feature and clicking zoom to selected feature in ArcMap, does anyone know what the FeatureExtent expand ratio is that is being used? I'm guessing ArcMap does more than just set this...
View Article