Does anyone have any vb.net code to recover an AutoCAD 2013 drawing?
Go to Solution.
At present there is no programmatic way of recovering the drawing files. One method is to create a script file which can recover the drawing file and running the script through the code.
Script file could be like
<CommandMethod("testrecover", CommandFlags.Session)> _
Dim scriptPath As String = "c:\\temp\\recover.scr"
Dim oApp As AcadApplication = Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication
oApp.ActiveDocument.SendCommand("(command ""script"" """ & scriptPath & """)" & vbCrLf)
I can make this work... thank you.
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.