.NET

Reply
*Norman Yuan
Message 1 of 1 (47 Views)

Autodesk MAP2006: Exporter event firing?

47 Views, 0 Replies
10-31-2006 07:15 AM
This post is for those who do Autodesk MAP .NET API programming.

I am working on a project that exporting selected MAP entities (mostly
polygons) to shape file, using classes in Autodesk.Gis.Map.ImportExport
napespace. Everything works as expected except one thing: the events with
Exporter class does not fire when my code runs the first time after a
drawing is opened (the events should fire on each entity to be exported). If
I run the code again, envets would fire correctly (i.e. on each entity).

Since I handle the events to determine exactly which entity (by its
ObjectId) is exported or errorred out, so that at the end of exporting, an
exporting summary is presented to user, the missed envent firing always
makes the exported entity count one less than actually exported if you only
run the code once. Of course it is radiculous to ask user to always run the
code twice.

I'd like to know if someone has coded Map's Exporter in .NET API and had
similar issue?
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.