PDA

View Full Version : Can VBA load a lisp routine and use it?



muck
1st Mar 2011, 03:22 pm
Can vba load a lisp routine and use it with the ThisDrawing.SendCommand
How would you have VBA to load the routine?
Thank you,

BIGAL
2nd Mar 2011, 02:46 am
Yes
ThisDrawing.SendCommand "(load " + Chr(34) + "s:/autodesk/vba/blockedit.lsp" + Chr(34) + ")" + vbCr

Phiphi
19th Aug 2011, 05:35 pm
... And how would you have VBA to load an AutoCAD script -> C:\test.scr ? Thank you.
(use it with the ThisDrawing.SendCommand)