Jump to content

Is it possible to add a button/icon for an AutoLISP command to AutoCAD?


jjatho

Recommended Posts

I use a logitech mouse and 3Dconnection Space Pilot Pro and find that the only time I ever actually touch my keyboard is for calling up AutoLISP commands I wrote myself. Is there any way to add these into the menu bar like all the standard commands in AutoCAD so I can completely eliminate my keyboard usage?

Link to comment
Share on other sites

Is there any way to add these into the menu bar like all the standard commands in AutoCAD so I can completely eliminate my keyboard usage?

 

Sure , but you need to read about the customization ( toolbar and menu parts ) for that purpose .

 

Search in the help document for Customize commands .

Link to comment
Share on other sites

You can create a macro to load ur program ....something like this -->

 

1°: type in the command line _.QUICKCUI (or click with the right mouse buton anywhere in any toolbar and then click in customize)

 

2°: click in the icon "Create a new Command"

 

3°: in the field macro type :

 

(load"/lsp/file_name.lsp")
Program_name

Link to comment
Share on other sites

...

 

3°: in the field macro type :

 

(load"/lsp/file_name.lsp")
Program_name

 

I've always prefered to demand-load my routines, if a given macro includes a call to LOAD personally:

^C^C^P(if (not c:FOO)(load "FOO.lsp")) FOO ^P

Link to comment
Share on other sites

I've always prefered to demand-load my routines, if a given macro includes a call to LOAD personally:

^C^C^P(if (not c:FOO)(load "FOO.lsp")) FOO ^P

 

1+ :thumbsup:

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