See the top rated post in this thread. Click here

Results 1 to 6 of 6

Thread: ToolBar Menu Syntax

  1. #1
    Member
    Join Date
    2005-04
    Posts
    2
    Login to Give a bone
    0

    Default ToolBar Menu Syntax

    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)

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: ToolBar Menu Syntax

    Use the Select command, then the Scale command on the Previous selection, e.g.:
    ^C^C._Select;\._Scale;_Previous;;\(/ 1.0 25.4);

  3. #3
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: ToolBar Menu Syntax

    Quote Originally Posted by RobertB
    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".

  4. #4
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: ToolBar Menu Syntax

    Quote Originally Posted by johnbogie
    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

  5. #5
    Member
    Join Date
    2005-04
    Posts
    2
    Login to Give a bone
    0

    Default Re: ToolBar Menu Syntax

    Thanks for your help, it is much appreciated. Have a great day!!

  6. #6
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    1

    Default Re: ToolBar Menu Syntax

    Quote Originally Posted by Mike.Perry
    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.

Similar Threads

  1. Syntax for "marking" custom menu command
    By rbdome in forum AutoCAD CUI Menus
    Replies: 1
    Last Post: 2008-11-18, 07:33 PM
  2. Syntax for "marking" custom menu command
    By rbdome in forum AutoCAD Customization
    Replies: 1
    Last Post: 2008-11-05, 04:59 PM
  3. Where was leader on the toolbar and menu?
    By jpaulsen in forum AutoCAD General
    Replies: 2
    Last Post: 2008-05-15, 07:15 PM
  4. Toolbar menu buttons override each other
    By veroniquew in forum AutoCAD Customization
    Replies: 4
    Last Post: 2005-07-25, 08:24 PM
  5. Menu & Toolbar Porter Missing
    By chan13 in forum CAD Management - General
    Replies: 2
    Last Post: 2004-06-26, 08:12 PM

Posting Permissions

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