Message 1 of 8
Not applicable
04-09-2012
10:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear. Developpers.
I am trying to open a drawing file programmatically(automatically).
So for example.
If I have a file name "test.dwg" and run some custom command like 'openfile", AutoCAD opens "test.dwg" without any prompt.
The following code DOESN'T do the job I want.
Application.DocumentManager.MdiActiveDocument.SendStringToExecute("OPEN", true, false, true)
The problem is I have to hit enter after the above code is run.
Would there be any way to do this?
Solved! Go to Solution.