Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

macro to change dimension attributes

Status
Not open for further replies.

rikonen

Mechanical
Joined
Mar 5, 2005
Messages
117
Location
US
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.
 
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.
 
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)
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top