keiths Posted November 26, 2013 Posted November 26, 2013 Can i assign a button to a lisp routine, if possible all advice how to appricated.. Quote
ksperopoulos Posted November 26, 2013 Posted November 26, 2013 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. Quote
keiths Posted November 26, 2013 Author Posted November 26, 2013 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 Quote
keiths Posted November 26, 2013 Author Posted November 26, 2013 Hi pBe, Sorry ! Can you please expand on this... Quote
BIGAL Posted November 27, 2013 Posted November 27, 2013 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. Quote
keiths Posted November 27, 2013 Author Posted November 27, 2013 i would like to use the tool palette... the lisp routine is below. (defun C:mebc5 () (command "measure" (entsel) "B" "C" "Y" 5) ) Quote
ksperopoulos Posted November 27, 2013 Posted November 27, 2013 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. Quote
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.