Export and import functions from a VLX application to use them in other VLX applications.
Note: The Visual LISP IDE is available on Windows only.
- In a Visual LISP text editor window, enter the AutoLISP statements the functionality you want to create.
Make sure to use the vl-doc-export function for each of the functions you want to access from the document namespace.
- Save the program file you created.
- Build an application file using the Make Application wizard.
- Load the VLX application file into AutoCAD.
- Create another program that uses the function from the other VLX file.
Make sure to use the vl-doc-import function for each of the functions you want to access from the other VLX file.
- Save the program file you created.
- Build an application file using the Make Application wizard.
- Load the VLX application file into AutoCAD and execute the function that utilizes the exported function.