Message 1 of 6
commandline sendstringtoexecute
Not applicable
08-11-2010
12:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have succesfully been using Tony Tanzillo's commandline class in AutoCAD 2010 projects for a while, mainly to purge a drawing, but I cannot get it to work in the following circumstances. It shows purge on the command line but nothing else:-
AutoCAD 2007
Comand run with and without CommandFlags.Session
Run from form modeless and modal
If the command is run from the command line it works and shows "No unreferenced blocks" etc.
I amguessing it is to do with teh form being "Active" so I have tried closing and disposing of the form befopre the conmmand and AppActivating the AutoCAD window.
If I debug it exits at "If Application.DocumentManager.IsApplicationContext Then Return 0 End If".
Any ideas?
Regards
Dave