Empty List from a Python Script

Hi guys, I hope you’re doing well.
I’m trying to cerate a script to devide a wall by levels, I already created the python script but unfortunatly this code give me an empty list, I tried to install the “DYNAMOIRONPYTHON 2.7 PACKAGE” and also “DYNAMOIRONPYTHON 3.0 PACKAGE” but I have always the same problem.

Can’t see what the code is, but if you want to change the Python engine you have to Richthofen click on the Python node and select the desired engine. Dynamo and Revit will need a restart after installing either alternative Python engine.