cgerhardt
2006-12-18, 05:35 PM
AutoCAD 2005.
I see on other posts I should be able to access a .Color property for entities. However I can only access the Truecolor property which always gives me a type mismatch error when I try to set it to acWhite.
Set objBlock = ThisDrawing.Blocks.Item("UMA_SINFO")
For Each objEnt In objBlock
objEnt.TrueColor = acWhite
Next
Can I change the color in the block definition or do I have to point to an actual block reference?
[ Moderator Action = ON ] What are [ CODE ] tags... (http://forums.augi.com/misc.php?do=bbcode#code) [ Moderator Action = OFF ]
I see on other posts I should be able to access a .Color property for entities. However I can only access the Truecolor property which always gives me a type mismatch error when I try to set it to acWhite.
Set objBlock = ThisDrawing.Blocks.Item("UMA_SINFO")
For Each objEnt In objBlock
objEnt.TrueColor = acWhite
Next
Can I change the color in the block definition or do I have to point to an actual block reference?
[ Moderator Action = ON ] What are [ CODE ] tags... (http://forums.augi.com/misc.php?do=bbcode#code) [ Moderator Action = OFF ]