cart: empty [ Login ]

Unable to change dimension text color

1 
SC
12/24/2017 12:24 AM
It seems I'm not able to change the text color in a dimension. Here's the code I'm using:
C# Code:
if (entity is DxfDimension) { var dimension = entity as DxfDimension; dimension.DimensionStyleOverrides.OverrideTextColor = true; dimension.DimensionStyleOverrides.TextColor = WW.Cad.Model.Color.CreateFromColorIndex(5); dimension.GenerateBlock(); }
but it doesn't work. What are my options to have this working a way or another? Thanks.
SC
12/24/2017 12:27 AM
I think I got it. Nevermind.
Aditya
6/22/2018 12:35 PM
can you tell me the solution, I am facing a similar problem, instead of changing text color I am trying to change dimension line color
Roman_Romaniv
6/26/2019 12:43 PM
Yeah, what the solution? Thanks/
1