|
changing font style & height macro
ok, i had posted this in the drawing forum:
who knows how to automate the ability to change the font style and height automatically for a bunch of drawings?
i saw the macro anna did for changing the font style and i am able to use it. but i also need to adjust the font heights. how would i update this macro or create a new to do the height change?
and it needs to work for sw07.
thanks
kirk l. jess
mechanical designer
icx radar systems
solidworks 2008 sp 4.0 w/routing
solidworks 2009 sp 0.0 w/routing
cswa
windows xp 64 pro
dell precision t3400
intel core2 quad q6600@2.40ghz
4 gig ram
nvidia quadro fx 4600
hi kirk,
attached is a macro that does two things: first it asks you what folder you want to work in as a nice windows gui (which is valuable to know how to do for a lot of things). second it retrieves all of the files in the folder selected. there is a sub in this macro that i commented out that opens each file as view only. you should be able to use this macro with anna's.
now, as far as the height change. each note has a sub type called textformat. textformat has a lot of variables stored in it. what you need to do is loop through each note in each drawing. within that loop get the text format of the note and set it to a temporary textformat variable. then update the height, then set the temp text format to the note you are currently working on.
by the way, isn't it funny that solidworks doesn't allow .swp files to be uploaded to the api forum?
have fun!
quick |
|