Menu Lisp

Discussion in 'AutoCAD' started by Marcel Goulet, May 28, 2004.

  1. Is there a way to obtain a lisp of the loaded menu ?
     
    Marcel Goulet, May 28, 2004
    #1
  2. Marcel Goulet

    ECCAD Guest

    (vl-load-com)
    (setq acadapp (vlax-get-acad-object))
    (defun MenuGroups-ListAll ( / out )
    (vlax-for each (vla-get-menugroups acadapp)
    (setq out (cons (vla-get-name each) out))
    )
    out
    )
     
    ECCAD, May 28, 2004
    #2
  3. Marcel Goulet

    ECCAD Guest

    (setq menuloaded (getvar "menuname"))

    Bob
     
    ECCAD, May 28, 2004
    #3
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.