Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<anishkt> wrote in messageI
href="news:6047150@discussion.autodesk.com">news:6047150@discussion.autodesk.com...
have mada a new command using autolisp. To make the program attractive, I want
to run it using VBA. VBA just needs to pass the command to the acad command
line to execute it. Is it possible. If yes could you please tell me how to do
it. Anish
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<rocheey> wrote in message>>you
href="news:6048359@discussion.autodesk.com">news:6048359@discussion.autodesk.com...
have to write a lisp to call the dvb via vla-runmacro or vl-vbarun Thats the
most common method, for sure. But you can also use the StartUp Folder,
Acad.dvb, or Acad.rx to do much the same. Also, starting your DVB from a lisp
file lowers the priority in when it's loaded. Using the alternate methods
above gets your .dvb up and running before other apps can get in and cause
problems.
Hi, iam trying to load a lisp from vba but i receave the error in the following image
Iam using the following code
Sub LoadAndRunLISP()
ThisDrawing.SendCommand "(load""C:\RD\RD 2017\Cartografia\Ricardo\LSP_Ficheiros\Datum_Projeccao.lsp"")"
ThisDrawing.SendCommand "PRINTCOORDSYS"
End Sub
Am i doing something wrong?
RD, Regards
Hi,
please don't crosspost, that creates just double work for all of us (and you too to watch and answer all the different threads).
Please continue here >>>click<<<.
- alfred -