Selected element by id returns null value

I’m using DesignScript to call revit internal selection method. You can find more about designscript here.

https://www.revitforum.org/dynamo-bim/27485-introduction-designscript.html

http://dynamoprimer.com/en/07_Code-Block/7-2_Design-Script-syntax.html

Please mark the post as solved. You’re welcome!