Jump to content

Recommended Posts

Posted

Can i assign a button to a lisp routine, if possible all advice how to appricated..

Posted

If you mean a lisp routine to a button, then yes. It can be done a couple of ways depending on how you wish to load your program.

Posted

Hi Kyle, Still learning... i have added the lisp routine via appload.. and now i want to use a button instead of typing the command

Posted

Hi pBe, Sorry ! Can you please expand on this...

Posted

There are basicly 4 ways to add a button, use a pull down menu, use a toolbar, use a ribbon menu or use a tool palette.

 

Which would you like to use ? then we can explain more.

Posted

i would like to use the tool palette... the lisp routine is below.

 

(defun C:mebc5 ()

(command "measure" (entsel) "B" "C" "Y" 5)

)

Posted

If you have already put the lisp routine into your startup suite (the button in the bottom right-hand corner of the APPLOAD window), then you can create a command through the CUI command. When you create this custom command ("Command List" section of the CUI window), you will want to put the following in your Macro (under the "Properties" section of the CUI window):

 

^C^C_MEBC5

 

After you have done this, you can drag the new command to whatever tool palette you want within the CUI window.

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