Open the the following file:
C:\program files (x86)\AutoCAD Civil 3D 2009\Support\acad2009.lsp
Add the lisp to the file:
Open the following file:
C:\Users\MicrosoftExcel\AppData\Roaming\Autodesk\C3D 2009\enu\Support\acad.pgp
Add the following to the end of the file:
Close Civil 3D if open, then reopen.
Not sure why it repeats the command though.
1 comment:
"Not sure why it repeats the command though."
Remember that a LISP function always returns the value of the last evaluation performed by the function. In this case, the last evaluation is the vla-vbarun, which returns the name of the macro. Just add a (princ) after the vla-vbarun to prevent the command line echo.
Post a Comment