You will need to compute the references, for quicker support specifically Revit API questions we recommend some of the dedicated forums. I don’t think we can go directly to a scripted element reference in this case, although i may be wrong, i’ll poke around a bit when a get a chance.