The second reason I added the command was to raise a subtle you might well hit while coding: you might see the initialization string sent to the command-line as the application loads, but then the command is not found when you enter "TST" at the command-line. If you experience this behaviour, you're probably hitting an issue that can come up when coding managed applications against AutoCAD 2007: there's been a change in this version so that acmgd.dll is loaded on startup, and under certain circumstances this assembly might end up getting loaded again if found on a different path, causing your commands not to work.
HiVery interesting post.I have a problem opening autocad files that haven't been created with autodesk, for example draftsight. It is generating an interop services com exception.Any clue?Thanks.
Hi Spiderinnet1The thing is that I'm able to open directly with autocad the .dwg, it is giving an alert message saying that is not a file created with official autodesk, but it is opened. However, when I try through com interop it generates an exception.Thanks 2b1af7f3a8