Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Offset Throught macro

2 REPLIES 2
Reply
Message 1 of 3
Kyle.Pederson
721 Views, 2 Replies

Offset Throught macro

Trying to create a button that will bypass having to enter T( through) on the keyboard.

What i have is C^C^offset;through;

But still is requiring me to enter T. Can someone walk me thru what i need to change. I’d like to be able to do the same thing for construction vertical and horizontal as well.

Regards,
2 REPLIES 2
Message 2 of 3
ВeekeeCZ
in reply to: Kyle.Pederson

It's not C^ but ^C - which means CANCEL - a macro usually starts with double CANCEL to make sure that there is no command active.

 

This works: 

^C^Coffset;through;

 

Or nicely:

^C^C_.Offset;_Through

(_ for international versions, dot of original not-redefined version of the command)

 

Or just

^C^C_.Offset;_T

(usually there is a space at the end but that's not necessary)

 

You can use spaces instead of semicolons (not better, just also possible)

^C^C_.Offset _T 

Message 3 of 3
Kent1Cooper
in reply to: ВeekeeCZ


@ВeekeeCZ wrote:

.... 

Or just

^C^C_.Offset;_T (usually there is a space in the end, but that's not necessary)

....


[The space at the end is not necessary because all command macros, unless they end with certain control characters, are always read with Enter imposed on the end. ]

Kent Cooper, AIA

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta