Get Ceiling at Level 1 from Linked model

I am trying to get ceilings at specific level from linked model, however its not working at my end.
Please see attached snap.

They’re linked elements so their level would be the linked Level 2, not your Level 2. Instead, you can get their level name from the parameter value and compare it to the level name you want.

Hello Nick,

This is a part of my script. I need all ceiling height at linked level 2, from that I would like to adjust my cable tray support rod height.

I got your point of level pointing to current model.

However I am unable to get that as described above. Is there any other way to do it.

Can you show us what you tried?