Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

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

$
0
0
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 says it does not work in C# .Net (See remarks: "Does not work in .NET. Use Polygon4.get_InteriorRingBag instead.") Under remarks it also states that this method only accepts an array of type IRing for exteriorRings. Using an array of IRing2 won't work. I am using iRing.

All worked great in 10.0 but the method now crashes if I attempt to query more that a single exterior ring. (Querying a polygon with one exterior ring passes)

Can someone confirm this behaviour before I attempt to re-write this procedure using the Polygon4.get_InteriorRingBag method instead?

Procedure is posted here

Viewing all articles
Browse latest Browse all 1374

Trending Articles