×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Syntax for a button macro in 2000i

Syntax for a button macro in 2000i

Syntax for a button macro in 2000i

(OP)
I am upgrading from Acad R14 to 2000i. I have many custom menus for inserting blocks on a drawing. The menus/macros work great in r14. When I try them in 2000i they don't work properly. Here is an actual macro string from one of my buttons: ^C^Clayer set e-powr^C^Cinsert plug near \;;

This string sets the layer "e-powr" current and then retrieves the block "plug" and waits for user input to near-to snap.

Can anyone help me with what I need to change to make this work in release 2000i?

RE: Syntax for a button macro in 2000i

ok well i think this ought to work if i remember right im only on 2k i have 2ki at home but there were some slight differences in dealing with button macros

you have

^C^Clayer set e-powr^C^Cinsert plug near \;;

make it
^C^C-layer s "e-powr";^C^C-insert;"plug";nea;\;;
try that or
^C^C-layer s "e-powr";^C^C-insert;"plug";nea;\;
or
^C^C-layer;s;"e-powr";^C^C-insert;"plug";nea;\;

the last one should work but try all of them

if everyone helps everybody the world will be a better place

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources