How to get level from floor plan view?

Hi, this script used to work with Revit 2017 and 2018. The Element.Level node is returning null values on 2019. Trying to get a views level to create a ceiling plan.

Anyone know how I can extract the level from a floor plan view?

thought i was so close… It does match though?

GetViewsLevel

Try this!

GetViewLevelToCreateCeilingPlan.dyn (16.3 KB)

1 Like

Had to change some lacing but work perfect! always amazed how intelligent people are on here. Thanks so much.