Is that possible to load a Lisp file from VB.NET? I am currently using Microsoft Visual Studio 2012 Express. I tried one like this below.
Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.Runtime
Imports Autodesk.AutoCAD.Interop
Public Class CLass1
Public Sub LoadLisp()
Dim app As AcadApplication = Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication
Dim command As String = "(load ""F:/HVAC Tools/My Duct/combine_to_acad.vlx"")"
app.SendCommand(command)
End Sub
End Class
But It doesn't work.Please guide me. Thanks in advance.