(menucmd

Discussion in 'AutoCAD' started by doug_barense, May 19, 2004.

  1. doug_barense

    doug_barense Guest

    (menucmd"P15=paeMechPulldowns.mLayers")

    The above works if P15 already has a pulldown but doesn't if there isn't already a pulldown menu in that position. So it appears I can't add a pulldown to the end.

    I thought I had accomplished this in the past and I haven't found anything stating that it can't be done.

    Any ideas or suggestions?

    Thanks!
     
    doug_barense, May 19, 2004
    #1
  2. Get the last position on the menubar then add one

    (1+
    (vla-get-count
    (vla-get-menubar
    (vlax-get-acad-object))))
     
    Jason Piercey, May 19, 2004
    #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.