Select to view content in your preferred language

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

528
1
02-07-2013 11:50 AM
JakubSisak
Honored Contributor
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
0 Kudos
1 Reply
JakubSisak
Honored Contributor
0 Kudos