I use AutoCAD 2014, VB.net 2010. I can't see CloseAndDiscard or CloseAndSave methods under my document object. I would like to close a drawing. What can I do?
Solved! Go to Solution.
have you referenced the AcCoreMgd.dll?
- alfred -
Below is the code to save or close drawing in ACAD 2014
Dim doc As Document = Application.DocumentManager.MdiActiveDocument
CloseAndDiscard(doc) CloseAndSave(doc, doc.Name)
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register