Not sure why it's not working

So I found a post on the Autodesk forums and am trying retrofit the base script. It’s to add rebar around windows and openings. When I run the original script I get an error with the node Geomery.GetWindowDoorOpeningCharacteristics. the node before is Selection.PickObjectsOfCategory. I have added standard windows and door into a model. After selecting them I should be getting information of the windows and doors but the geometry node is not producing anything. Dose anyone know if something has changed with that node?

For referance this is the post about what I am trying to do.
http://blogs.autodesk.com/revit/2018/11/27/learn-the-power-of-dynamo-for-automated-reinforcement-detailing-part-1/