Message 1 of 2
eNoInputFiler Error executing Document.ReadDwg()
Not applicable
01-29-2009
11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am getting a eNoInputFiler error executing Document.ReadDwg() when I am not executing the method as an AutoCAD command (i.e. not called from a method marked with a CommandMethod annotation). If I execute the code called from a method called as an AutoCAD command, it works fine.
I have tracked down what appears to be the cause: The command executes in document context (and Document.ReadDwg works) and the other call comes from application context (Application.DocumentManager.IsApplicationContext = True) and the function fails.
Any suggestions?
- Scott
I am getting a eNoInputFiler error executing Document.ReadDwg() when I am not executing the method as an AutoCAD command (i.e. not called from a method marked with a CommandMethod annotation). If I execute the code called from a method called as an AutoCAD command, it works fine.
I have tracked down what appears to be the cause: The command executes in document context (and Document.ReadDwg works) and the other call comes from application context (Application.DocumentManager.IsApplicationContext = True) and the function fails.
Any suggestions?
- Scott