Custom Pop Menu?

Discussion in 'AutoCAD' started by Jesse, Jan 13, 2004.

  1. Jesse

    Jesse Guest

    I am a very novice customizer and I was wondering if anyone knows how to
    write a pop code that would insert 2 xref block's one after another into a
    drawing? the blocks would be specific to that line of code? I don't want it
    to path and I want it to just turn on the node snaps? Do I make any sense?
    Thanks
    J
     
    Jesse, Jan 13, 2004
    #1
  2. Jesse

    Thomas Smith Guest

    All you need to do is write down EVERY input you do...
    Then type it in using a space or ; to indicate each time you press
    <Enter>...
    For instance:
    If I want to insert a block and turn on SNAP mode...
    -insert;c:\\blocks\\centermark.dwg;0,0;;;;snap;on;

    Just put that "macro" next to the POP menu label & you're done...
    If your macro gets very long I'd suggest using a Script file... (example:
    myscript.scr)
    You can do the same thing, but I normally use a line break (Press enter) for
    <Enter> (instead of space or ;)
    And then in your menu, you can call :
    script;myscript.scr;

    Let us know if you need anything else (or if I didn't explain very well)...
     
    Thomas Smith, Jan 14, 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.