To Make Functions in a Separate-namespace VLX Available to Other VLX Applications (Visual LISP IDE)

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

  2. Save the program file you created.
  3. Build an application file using the Make Application wizard.
  4. Load the VLX application file into AutoCAD.
  5. 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.

  6. Save the program file you created.
  7. Build an application file using the Make Application wizard.
  8. Load the VLX application file into AutoCAD and execute the function that utilizes the exported function.