Jump to content

Add a custom command to open the VLIDE


MSR

Recommended Posts

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 by SLW210
Added Code Tags
Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...