Jump to content

Macro help


Recommended Posts

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?

Link to comment
Share on other sites

Solved. Split into 2 buttons.

1st one

^C^C_-LAYER S PIP ;*^C^COFFSET L C .005 SINGLE

2nd one

^C^C_-LAYER OFF TOOL OFF HEIGHT OFF PARTNUMBER ;move w;\\ [url="file://%5ec-layer/"]\\^c-layer[/url] ON TOOL s TOOL ^C^C

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...