Ortho on before stretch

Discussion in 'AutoCAD' started by Elton Larry, Jun 18, 2004.

  1. Elton Larry

    Elton Larry Guest

    How can I modify the Stretch button macro so that Ortho will be turned on
    before stretch command begins
    thanks
     
    Elton Larry, Jun 18, 2004
    #1
  2. Elton Larry

    ECCAD Guest

    [Stretch]^c^c(setvar "ORTHOMODE" 1);_stretch;

    Bob
     
    ECCAD, Jun 18, 2004
    #2
  3. Elton Larry

    Elton Larry Guest

    I created a new button with your macro and it works great but when I close
    Autocad and reopen this button is gone, only the toolbar remains. What is
    going on?
    Your help is appreciated.
     
    Elton Larry, Jun 24, 2004
    #3
  4. Elton Larry

    ECCAD Guest

    ^c^c(setvar "ORTHOMODE" 1);_stretch;
    is only the macro..you need to define the button portion in
    the usual fashion.
    Sample button on a toolbar:
    ID_STR [_Button ("Stretch", stretch_s.bmp, stretch_l.bmp)]^c^c(setvar "ORTHOMODE" 1);_stretch;
    You also need the .bmp files in your support path.

    Bob
     
    ECCAD, Jun 24, 2004
    #4
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.