Error 1 'open' is not a member of 'Autodesk.AutoCAD.ApplicationServices.DocumentColl
how can i solve this problem?
i am using autocad 2013
i have tried ur method it also do not work
Public Class test
<CommandMethod("OpenDrawing", CommandFlags.Session)> _
Public Sub OpenDrawing()
Dim acDocMgr As DocumentCollection = Application.DocumentManager
DocumentCollectionExtension.Open(acDocMgr, "C:\Users\michael.yeung\Desktop\Acad\1F_MHS.dwg", False)
Can you please try the attached sample project ?
It worked ok in AutoCAD 2013. You may need to change the path to the referenced assemblies.
You may also be interested in this blog post about extension methods :
The sample project works ok in AutoCAD 2013 in my system.
Not sure what else could be causing this error.
Maybe you can try this :
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.