Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

managing VLX files

4 REPLIES 4
Reply
Message 1 of 5
mrkaplan
2781 Views, 4 Replies

managing VLX files

i d like to understand how to manage VLX file

when i drag and drop one in acad , then type the command it works fine

but then

  - creating a pgp alias : doesnt work , uinknown command

 -  load vlx and launch command from a lisp  : does nothing 

 

am i missing something ? are there other options ?

thanks  

4 REPLIES 4
Message 2 of 5
stevor
in reply to: mrkaplan

The VLX  routine must be 'loaded' before using  the alias.

Drag and drop is one way to load, but there are others.

 

Search for load, appload, vl-unload-vlx, Acaddoc,  etal, 

to see the various ways, with their limits and requirements.

 

S
Message 3 of 5
Jonathan3891
in reply to: stevor

You can have your lisp load the VLX


Jonathan Norton
Blog | Linkedin
Message 4 of 5
skintsubby
in reply to: mrkaplan

To have a tool bar button load your lisp,

 

^C^C(if (not c:YourCommand)(load "C:/YourFile/Path/Lisps_and_VLX files/YourVLXFile.vlx"));YourCommand;

 

Or you can add the vlx file to your Contents start up suite in the APPLOAD manager.

Tags (1)
Message 5 of 5
Jonathan3891
in reply to: skintsubby

You can make it easier than that if you have a support path set to look at your lisp files.

 

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

 

Example:

 

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


Jonathan Norton
Blog | Linkedin

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost