Ignore White Lines in Selection Filter (AutoCAD .net API)

We want a selection filter which simply ignores certain types of colors.
Here is the ‘simple’ result I came up with:
Written on April 24, 2018
Rails, Tekla Open API, AutoDesk .NET

We want a selection filter which simply ignores certain types of colors.
Here is the ‘simple’ result I came up with: