×
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

macro to change dimension attributes

macro to change dimension attributes

macro to change dimension attributes

(OP)
I'm not up to speed on my vbasic but I'd like to have a way of selecting a dimension from my drawing and with a single keystroke have it change to bold italic from it's current attributes. Any help would be appreciated.

RE: macro to change dimension attributes

use dimension style

RE: macro to change dimension attributes

(OP)
the only way I know how as of right now is select the dimension, select the other tab in the dimension dialog box, uncheck "use document font", click the font button, and then change your font style. I would like to select the dimension and hit a single hot key on the keyboard and have the dimension font style change. If I could do multiple selections that would be even better.

RE: macro to change dimension attributes

Possible with a macro, but I don't have time to do it.

As suggested, look into dimension styles.  They may be called favorites in your version.  Works with multiple selections, although it requires two mouse clicks rather than one key press.

-handleman, CSWP (The new, easy test)

RE: macro to change dimension attributes

You can always try what handleman suggests, while recording a macro.

Mind you, the record macro functionality can be very spotty at times.  For things like this though, may work out ok other than you'll probably have to figure out how to get the variable for the current selection(s) and run them through the script.

Since I'm almost positive it will input the very specific dimension name in the recorded macro.

James Spisich
Design Engineer, CSWP

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