Using lisp in .mns file - problem

Discussion in 'AutoCAD' started by devon, Jan 5, 2005.

  1. devon

    devon Guest

    Hi,

    I have a simple partial menu which has "full" paths to our server and the assiaoted files for the tools these icon's execute.

    My problem is that I updated the paths with my lisp variable (the way it should be) but can't get lisp working for the icon paths.

    here is an example...
    This works.. but I want to "libpref" the icon file also...

    ID_1 [_Button("Lysaght Products", "O:/Infra/CADD/Software/Acad/LIB/BHP/LYSAGHT.bmp", "LYSAGHT.bmp")](load (strcat libpref "lib/BHP/Lysaght.Lsp")) ^C^C_lysaght

    Any ideas if this can be done?

    Thanks
    Devon
     
    devon, Jan 5, 2005
    #1
  2. devon

    ECCAD Guest

    Do you have a "/" at the end of 'libpref' var ?

    ID_1 [_Button("Lysaght Products", "O:/Infra/CADD/Software/Acad/LIB/BHP/LYSAGHT.bmp", "LYSAGHT.bmp")](load (strcat libpref "lib/BHP/Lysaght.Lsp")) ^C^C_lysaght

    Bob
     
    ECCAD, Jan 6, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.