How do I make a Typed Value for the actual color of an entity in Autocad .NET

137 Views Asked by At

I'm trying to select by color using the typed value below in a selection filter:

new TypedValue((int)DxfCode.Color, myColor)

The problem with this is that some entities have the color values 'byblock' or 'bylayer'. Is there a way to filter on the actual color value being displayed on screen?

1

There are 1 best solutions below

0
On

Does this case answer your question?

Find out the layers with the target color=> Filter on layers