- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working on an application that uses map to query data, then saves the data to a file, and repeat. It works flawlessly when I use a commandmethod with commandflags.session, But, when I try to run the same code from a form button, I get "drawing is busy". The command from the form button ignores the commandmethod and the commandflags. I am guessing that "sendstringtoexecute" would work, but I would prefer to not do it that way.
What am I missing? Is there another way to lock the session?
Here is what I am trying to do.
drawing1 is open and the user presses the button
data is queried and saved as 1.dwg
close and discard drawing1
open a new doc drawing2
data is queried and saved as 2.dwg
close and discard drawing2
open a new doc drawing3
....
Solved! Go to Solution.

