Jump to content

Need macros for several custom offset command buttons


Recommended Posts

Posted

Hi. I created custom offset command buttons but I do not know what the macro is I need? I did this at work about a year ago but i don't recall the macro I was told to use. At work I would click the custom created offset button labeled .3125 (example), press the spacebar once, click the line or polyline I want to offset, and finally click in the direction I was offsetting. Please use .3125 as an example. Thanks...

Posted

Run through the command once for real, pausing to write down what you did.

Then go over the macro syntax in the customization guide, and fill in the blanks.

 

Some codes:

^c^c = cancel any current command

._offset = start the offset command

; = an

\ = pause for user input

 

So just combine these together to do what you want.

Posted

I was able to get it to work using ^c^c._offset;.3125;

I didn't have to use the spacebar either so its actually better then what I have at work...thanks

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...