Jump to content
jjatho

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

Recommended Posts

jjatho

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?

Share this post


Link to post
Share on other sites
Tharwat
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 .

Share this post


Link to post
Share on other sites
NEXTMARCUS

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

Share this post


Link to post
Share on other sites
BlackBox

...

 

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

Share this post


Link to post
Share on other sites
pBe
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:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×