How to get the color of an edge in a drawing view?
Try IView:: GetPolylines6 method which will return array of edges along with array of doubles which contains line colour along with other information. You can then loop through the edge array until you find your edge.
Hope it helps.
@nilesh : Thanks for the pointer. I was able to get the line color. The vPolylinesBuffer arr is annoying to work with though.
It really is a pain, isn’t it. I’ve written a parser for Drew, but I have added lots of unit tests to make sure I never break it again. I’d rather not touch that logic ever again. There’s even a bunch of zeroes that show up undocumented.