Kerry
Tks for reply. Here is the code. Its a common call when reading the layer table and the entities.
If I have a layer with a colour that is ByAci then in the ColorValue object I have the following
ColorValue = "{Name=ff050000, ARGB=(255, 5, 0, 0)}"
Five being the Acad index for Blue
If however I have a layer where the colour is ByValue I get the following, which is good
ColorValue = "{Name=ff2109f6, ARGB=(255, 33, 9, 246)}"
When I read the entities I use the same method
If the color is by layer I don't need to look at the entities color (it is empty anyway)
ColorValue = "{Name=ff000000, ARGB=(255, 0, 0, 0)}"
but if the color is not by layer I get exactky the same behaviour as above
Code snippet below.....
NB I'm on leave next week, so if you reply I am not ignoring you !
Many thanks
Dave