Not Much to Say
I really don't have much to say. Work is a little boring right now. I can only work on the VB6 to VB.NET conversion so many hours a week, and the other stuff I'm working on isn't really keeping my attention. And I can't really talk about it anyway (which is probably a good thing for all of you since I'd just be venting).
Oh, I did have to use IGeometryBridge for the first time this week (thanks to Brian Flood for pointing this out a little while back). It took me a little while before I figured out I had to use it (I was trying to get IPointCollection::ReplacePoints to work, it wasn't), but without Brian's comment it probably would have taken me much longer. I just wish the ArcObjects .NET help would say in the IPointCollection::ReplacePoints help entry that you should use IGeometryBridge::ReplacePoints. But I guess that's asking for too much. Otherwise, not much else. I need to remember to call the garbage collector whenever I use a IFeatureCursor. I was debugging this code this morning and it kept erroring out. I had added GC.Collect, just not in the right place. Argh! I eventually figured that one out too.
I really sound bitter lately. I'm gonna have to change my attitude!
I hate it when I stumble on something like this that should have been much more intuitive. With that in mind I apologize that you had problems using a couple of the APIs with .NET. I forward your post to our geometry team and they've updated the IPointsCollection and IPointCollection::ReplacePoints documentation to make this clear and to point developers toward the alternative interface.
Unfortunately, because of how the help system builds work we won't be able to get this onto the website immediately but it is in the system but it is in the system so it will be available with our next update.
Cheers and hopefully we'll see you at the developer summit!
-bg
http://www.spatiallyenabled.com
Posted by: Brian Goldin | March 08, 2006 at 10:24 PM
Awesome! Maybe I'll have to post my wishlist on here ;-)
Unfortunately, I won't be at the developer conference. I wouldn't mind spending a few days in Palm Springs, but funding might be an issue...
Marianne
Posted by: Marianne | March 09, 2006 at 08:31 AM