PDA

View Full Version : ToolBar Menu Syntax



eric.mcclellan
2005-04-06, 06:52 PM
I work between US units and Metric units/Drawings daily. Thus the need for the following toolbutton syntax (AutoCad 2000). When I "select objects" and pick one object, for instance a line or a circle, this macro works great. When I select a lot of objects (via window/more than one) it stops after object selection (first \). Can anyone help? Thanks in advance!
^C^CScale \;\.03937 (princ)

RobertB
2005-04-06, 10:38 PM
Use the Select command, then the Scale command on the Previous selection, e.g.:
^C^C._Select;\._Scale;_Previous;;\(/ 1.0 25.4);

jaberwok
2005-04-07, 07:42 AM
Use the Select command, then the Scale command on the Previous selection, e.g.:
^C^C._Select;\._Scale;_Previous;;\(/ 1.0 25.4);
Unless things have changed recently "/ 1.0 25.4" won't work. Use "/ 10 254".

Mike.Perry
2005-04-07, 11:18 AM
Unless things have changed recently "/ 1.0 25.4" won't work. Use "/ 10 254".Hi

Take another look....

Robert used Real numbers in the LISP expression, therefore it works perfectly.

Have a good one, Mike

eric.mcclellan
2005-04-07, 02:04 PM
Thanks for your help, it is much appreciated. Have a great day!!

jaberwok
2005-04-07, 03:54 PM
Hi

Take another look....

Robert used Real numbers in the LISP expression, therefore it works perfectly.

Have a good one, Mike
Hi mike.

Oh, b*gger the parentheses.

Take care.