cdrivanova
Technical User
Hi all,
I've written a macro that creates a map in the global.mpt, but as a clean-up function after running the macro, I'd like to delete the map.
For other items, you can use OrganizerDeleteItem, but it doesn't work on the global.mpt.
Alternatively, I could create the map in the activeproject (so that it doesn't go to the global.mpt), but how do you do that? I'm using the MapEdit method to create the map.
Thanks!
I've written a macro that creates a map in the global.mpt, but as a clean-up function after running the macro, I'd like to delete the map.
For other items, you can use OrganizerDeleteItem, but it doesn't work on the global.mpt.
Alternatively, I could create the map in the activeproject (so that it doesn't go to the global.mpt), but how do you do that? I'm using the MapEdit method to create the map.
Thanks!