• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    *Grahame Ede

    Select vrs. \

    42 Views, 0 Replies
    09-04-2005 09:40 PM
    I am trying to write a simple macro to make the Rotate Relative command
    easier by specifying the relative option with an R and the first point of
    the reference angle as the base point with an @

    I have added the characters after _rotate

    $M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),grip),_rotate,^C^C_rotate;\;\r;@;\\)

    This works perfectly, but I can only select one entity. To enable me to
    choose any number of entities to rotate I substituted 'select' for the first
    \

    I.E.

    $M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),grip),_rotate,^C^C_rotate;select;\r;@;\\)

    Now neither the 'R' or the '@' function.

    Can someone help with a way to select any number of entities in a macro?
    Please use plain text.