MSR Posted January 15, 2018 Share Posted January 15, 2018 (edited) I have a few commands that I've created over the years and I've recently shared this file with coworkers and placed my LISP file on the net where several of us include it into our APPLOAD startup. Several people have asked me - "What's that command to get into the editor?" I want a more intuitive command but the following doesn't work. What do I need to change CSCADD to in order to open VLIDE? Thanks in advance! ----- (defun C: PP () (Command "._Zoom" "_Extents" "-plot" "no" "" "Previous plot" "" "" "" "Yes" )(princ)) (defun C:ZE () (command "._Zoom" "_Extents") (princ)) (defun C:ZB () (command "._Zoom" "_Previous") (princ)) (defun C:XH () (command "_XLINE" "HOR") (princ)) (defun C:XV () (command "_XLINE" "VER") (princ)) (defun C:XA () (command "_XLINE" "ANG") (princ)) (defun C:ZO () (command "._Zoom" "_Object") (princ)) (defun C:CSCADD () (command "_VLISP") (princ)) ------------- Edited March 5, 2018 by SLW210 Added Code Tags Quote Link to comment Share on other sites More sharing options...
hanhphuc Posted March 3, 2018 Share Posted March 3, 2018 What do I need to change CSCADD to in order to open VLIDE? (defun C:CSCADD () (command "_VLISP") (princ)) hey try this.. (defun C:CSCADD () [color="red"](c:vlide)[/color] (princ)) just notice you have typos? (defun [color="red"]C: PP[/color] ... ) [color="green"]--->[/color] (defun [color="red"]C:PP[/color] .... ) You should post LISP question in appropriate thread in order to get quick respond http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL Quote Link to comment Share on other sites More sharing options...
BIGAL Posted March 3, 2018 Share Posted March 3, 2018 Guess you saved typing one character. (defun c:VL () (command "_VLISP") (princ)) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.