Jump to content

How to change LISP Command?


gosujohn

Recommended Posts

Hi guys,

 

Sometime ago, I downloaded from a website a LISP called breakobjects18 written by Charles from www dot theswamp dot org

 

I love the LISP but have one small problem, the basic command is 'mybreak'.

 

Its a little long for my tastes and I was wondering if there was anyway to shorten it like how you would edit Autocad's aliases.

 

Thanks in advance!

 

:D

Link to comment
Share on other sites

Hi,

 

You can rename the command. Search for (defun c:mybreak in the code and replace c:mybreak by c:mbr so that the command name would be mbr.

 

Another way is to define a new name (shortcut) adding a LISP expression at the end of the code:

(defun c:mbr () (c:mybreak))

Link to comment
Share on other sites

Hi,

 

You can rename the command. Search for (defun c:mybreak in the code and replace c:mybreak by c:mbr so that the command name would be mbr.

 

Another way is to define a new name (shortcut) adding a LISP expression at the end of the code:

(defun c:mbr () (c:mybreak))

 

Thanks for the fast response!

 

will try that now :)

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...