Tag Info

New answers tagged

0

As a workaround, the documentation recommends calling Python from out of process. While the topic is on arcpy, it should apply to anything that uses Python in the stack. I'd strongly recommend contacting Esri support to address this particular issue, though. It may already be in their knowledge bade with a solution.


0

Had a quick search on Google for what R6034 meant and here are some threads, it may not even be anything to do with ArcMap? Thread Reason StackOverflow Q&A And a whole load more...


0

This is possible in python using FeatureClasstoFeatureClass with Fieldmappings. You can also rename fields at the same time. So if you have a Featureclass with FIELD3,FIELD2,FIELD1 and you want the result to be FIELD1,F2,F3 then the following code should accomplish this. arcpy.env.overwriteOutput = True input_fpath = ...


1

iTopologyExtension interface is part of the ESRI.ArcGIS.EditorExt namespace, so you need to import this namespace at the top of your module (and also check it is added to references): Import ESRI.ArcGIS.EditorExt Or if you don't want to import, just reference iTopologyExtension in full: Dim pTopoExt As ESRI.ArcGIS.EditorExt.ITopologyExtension I think ...


1

include ESRI.ArcGIS.DatabaseSourcesFile in your project here is a C# code showes you how to open a shape file,you can convert it to VB.Net simply IWorkspaceFactory ipShapeWF = new ShapefileWorkspaceFactoryClass(); `//strfilepath the path to shape file,include only folder not shape file itself' IWorkspace ipShapeWS = ipShapeWF.OpenFromFile(strfilepath, 0); ...


1

Just an idea but you seem to be constructing your rectangle from a ring and the help talks about wrapping rings in higher level geometry. If it were me and as it looks like you are building a simple rectangle I would have built the polygon this way (not sure it makes a difference but worth a try?)... Dim pPolygon As IPolygon4 Set pPolygon = New Polygon Dim ...


0

You are looking for the ITopologyProperties.Classes property. Use this sample code to get a reference to your topology. From your ITopology, get ITopologyProperties. Store ITopologyProperties.Classes in an IEnumFeatureClass. Use the sample code here to enumerate over your IEnumFeatureClass to get the feature class you want (since multiple feature classes ...


0

I recently dealt with a similar problem; I wanted to pass an SDE layer as .near_features and it only worked when I passed the layer's path string. Talked to the Esri Support and they came back a few days later and said it was a bug. Bug number: #NIM102924 Synopsis: Generate Near table geoprocessing tool s "Near Features" parameter doesn't accept ...



Top 50 recent answers are included