Load Lisp with push of a button

If you have multiple custom toolbars, it may be come tedious to attach each lisp file.

Instead, have your button load the file for you and launch the command!

This only works if you have a support folder pointed where you store custom lisp files.

^C^C_(if (not c:YourCommandHere)(load “lisp file”)) YourCommandHere

Example:

^C^C_(if (not c:blank)(load “text_blank”)) blank

If you don’t have a support folder pointed to your custom lisp files, you have to define the path in the command:

^C^C(if (not c:YourCommandHere)(load “C://YourFile//Path//Here.lsp”))YourCommand

Advertisements

2 thoughts on “Load Lisp with push of a button

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s