Accessing Drainage Elements in 3pc Criteria

I am writing a 3pc and need to pull off the Drainage Node Id for inlets and manholes.
I am using a dgn selection set and have tried to use _d_drg = Drainage Node Id but it returns an error.

TIA,

Mike