Select by category or type view not working

Hi All. I updated my revit and everything else now the below script doesnt update the comments accordingly

1 Like

@technitutors ,

in that case you have to get the “workplane” not the level.