TheSwamp
Code Red => VB(A) => Topic started by: Matersammichman on November 16, 2006, 10:07:25 AM
-
Does anyone know of a way to set\change the Dimension Text Style Fill Color using VBA?
-
Try this:
objDimension.TextColor=RGB(255,0,0)
or:
objDimension.TextColor=1
~'J'~
-
Thanks, but that's not it. It's my fault. Maybe I wasn't clear enough.
I'm trying to set the Dimension Text (Background) Fill Color, not the actual Text color.
I'm in 2005 ADT and trying to mask my dimension text.
I know I can do it the "regular" way via picking through the DimStyle command, but I want to code it in vba.
-
Thanks, but that's not it. It's my fault. Maybe I wasn't clear enough.
I'm trying to set the Dimension Text (Background) Fill Color, not the actual Text color.
I'm in 2005 ADT and trying to mask my dimension text.
I know I can do it the "regular" way via picking through the DimStyle command, but I want to code it in vba.
Are you looking to toggle it with a user pick or change all at the command line.
Just watching & learning
-
I'm actually looking to set it in a particular Dimension Style, but both of your options sound great too!
-
I'm actually looking to set it in a particular Dimension Style, but both of your options sound great too!
I was thinking the other day that I needed a something to toggle the background mask on and off for user selected text and dimension objects. And I thought that I would do it in VLisp since this would be great second lesson/routine. I know nothing of VBA also so I will sit back and watch.
-
Wow!
Did I stump the panel???