+ Reply to Thread
Results 1 to 2 of 2

Thread: Macro help

  1. #1
    Full Member David D's Avatar
    Using
    AutoCAD 2010
    Join Date
    May 2011
    Posts
    50

    Default Macro help

    Registered forum members do not see this ad.

    I am fairly new to AutoCAD. I had a co worker for a short while who wrote some custom buttom commands for us to use. He is gone. I have written a macro(am I using the term correctly?) which does what I want it to do except for 1 part.
    "^C^C_-layer s PIP ;offset l c .005 \\^C-layer OFF TOOL OFF HEIGHT OFF PARTNUMBER ;move w;\\ \\^c-layer ON TOOL s TOOL ^C^C".
    The second part which does an offset will only do 1 offset. I would like to do multiple offsets and use Enter or Esc to have the macro continue. Can anyone help?

  2. #2
    Full Member David D's Avatar
    Using
    AutoCAD 2010
    Join Date
    May 2011
    Posts
    50

    Default

    Registered forum members do not see this ad.

    Solved. Split into 2 buttons.
    1st one
    Code:
    ^C^C_-LAYER S PIP ;*^C^COFFSET L C .005 SINGLE
    2nd one
    Code:
    ^C^C_-LAYER OFF TOOL OFF HEIGHT OFF PARTNUMBER ;move w;\\ \\^c-layer ON TOOL s TOOL ^C^C

Similar Threads

  1. SELECT in macro won't stay selected!!!! How to hide Macro in command line aswell?
    By jamesfear in forum The CUI, Hatches, Linetypes, Scripts & Macros
    Replies: 11
    Last Post: 31st Jul 2012, 02:23 am
  2. \ in macro
    By Lt Dan's legs in forum The CUI, Hatches, Linetypes, Scripts & Macros
    Replies: 4
    Last Post: 23rd Nov 2010, 02:55 am
  3. Macro Help
    By eitreb in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 29th Jan 2009, 01:48 pm
  4. Macro Help
    By Thomas188 in forum AutoLISP, Visual LISP & DCL
    Replies: 9
    Last Post: 11th Jul 2008, 06:55 pm
  5. Macro Help
    By dreese1 in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 18th Aug 2005, 09:09 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts