Community
oAcadApp.DocumentManager.Open(
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<wperaud> wrote in messageHello,
href="news:6200812@discussion.autodesk.com">news:6200812@discussion.autodesk.com...
I'm developping a dll for Autocad 2009. I would like to know, how to open a
DWG file ? I tried : Database db = new Database(); db.ReadDwgFile(file.Path,
FileOpenMode.OpenForReadAndAllShare, true, ""); ---> does nothing
Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.Open(file.Path);
--> Error concerning Execution Context. Thank you
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">Hello,
I'm developping a dll for Autocad 2009. I would like to know, how to open a
DWG file ? I tried : Database db = new Database(); db.ReadDwgFile(file.Path,
FileOpenMode.OpenForReadAndAllShare, true, ""); ---> does nothing
Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.Open(file.Path);
--> Error concerning Execution Context. Thank you
// Called Kerry in my other life.
Everything will work just as you expect it to, unless your expectations are incorrect.
class keyThumper<T> : Lazy<T>; another Swamper
Can't find what you're looking for? Ask the community or share your knowledge.