Pop Up Menu Trick

Discussion in 'AutoCAD' started by Mr. B, Oct 3, 2005.

  1. Mr. B

    Mr. B Guest

    Here is something that I've been using for several years now, and thought that
    some of you might benifit to this as well. Please read through as I think
    you'll find this of some worth while benefit (regardless of what you do).

    I do electrical design (not that it means much)... but by doing so, I have a
    lot of symbols that I use. And I have several symbol group or PopUps (ie
    Lighting, Power, Communications, Fire Alarm, etc.).

    Each Group has it's own Pop up menu which I select a Symbol from. Each Pop up
    is located under a Main Pull Down menu called 'Electrical'.

    Now what I have is that by holding down the CTRL key and then clicking my
    mouse Right Click, I bring Up my main Electrical menu as a Pop Up. I then can
    select a Group PopUp context menu from it.

    Now while brining up the Electrical pulldown menu as a Pop Up by
    CTRL+RightClick is slick enough... I then can then bring up the previously
    selected Group Pop up menu by entering the keyboard command ---> 'AA' (I only
    us AA simply because it is easily entered).

    And regardless of which Pop up menu I have previously selected, the AA command
    brings that Pop Up back without having to go through all the Selection crap
    again. Thus I save myself a LOT of time.

    So how?

    First of all, using my situation, I have disabled the default AutoCAD context
    menu by changing the Setvar SHORTCUTMENU to Zero (0).

    Then in my AutoCAD MNU file, I've change the AUX3 menu stuff to as follows:

    ***AUX3
    // Control + button
    /// $P0=SNAP $p0=*
    /// Pre-Select the Electrical Symbols Main Menu
    $P0=eSymbs $p0=*

    .... just for those of you who aren't too familiar with modifying the MNU file,
    'eSymbs' is the 'name' of my Main Electrical Pull Down menu which is located
    in the MNU file:

    ***POP13
    **eSymbs <----- Here is the Name
    [eSymbols]

    So... you can use what ever You have instead. Doesn't really matter.

    Now... I have a pre-loaded LISP routine (AA.lsp) which looks like this:

    ; Brings up the Last Popup Menu
    (defun C:AA ( )
    (menucmd "I=*")
    ) ;defun

    .... pretty simple... the AA will always bring up your Last PopUp menu
    regardless of what it is... Thus saving you some time going through all the
    selection stuff as it is.

    And while I've not written anything about it, I use some neat tricks in my
    Menu and a Main Symbols Installation LSP file to re-insert the last selected
    symbol without having to re-select it from a Menu...

    Hopefully some of you will get some benefit from the above.

    Regards,

    Bruce F
     
    Mr. B, Oct 3, 2005
    #1
  2. Mr. B

    Peter Ruehle Guest

    Good stuff, Bruce. Thanks for posting.

    Pete
     
    Peter Ruehle, Oct 4, 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.