Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Load Lisp within command line key shortcuts
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Load Lisp within command line key shortcuts (Read 992 times)
0 Members and 1 Guest are viewing this topic.
MSTG007
Gator
Posts: 2603
I can't remeber what I already asked! I need help!
Load Lisp within command line key shortcuts
«
on:
April 08, 2016, 10:16:08 AM »
Ok. I am having another awesome brain.... issue today.
I have the following routine I would love to figure out. Just can't! lol.
(defun c:DCA () (command "(load "INCARRAYD - Dynmanic Copy Array")" "incarrayd")(princ))
Thanks for the help.
Logged
Civil3D 2020
alanjt
Needs a day job
Posts: 5352
Standby for witty remark...
WWW
Re: Load Lisp within command line key shortcuts
«
Reply #1 on:
April 08, 2016, 10:24:10 AM »
(defun c:DCA (/)
(load "fileanme" "")
(c:commandName)
(princ)
)
However, you should look into
autoload
.
Logged
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox
MSTG007
Gator
Posts: 2603
I can't remeber what I already asked! I need help!
Re: Load Lisp within command line key shortcuts
«
Reply #2 on:
April 08, 2016, 10:25:58 AM »
No your right. I do have a lot of the already in there. Thank you though for the help.
Logged
Civil3D 2020
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Load Lisp within command line key shortcuts