Getting Rebar From attached Rebar Coupler

I tried this method from the Revit API

But all I get is this,