Workset view routine not working anymore

I have a dynamo script that works in v1.3.4.6666 (Revit 2017-2019) but it does not work in v2.1.0.7500 (Revit 2020 or newer)

it runs with no errors but it does not function properly. the routine makes a view for each worksets, hides all worksets except the appropriate workset.

now Revit 2020 and newer it runs correctly except it does not hide any worksets.

any suggestions?

  1. Check your packages. You may need to update some of them for the new version.
  2. If you are using Dynamo Player, check if there are any drop-down menu inputs. Between Revit 2018 and 2019 a bunch of new categories/types were added, which disrupted the list order.

so I’m assuming the node that isn’t functioning correctly would be the ‘SetWorksetVisibility’ node from archi-lab.net. archi-lab.net is v2021.25.9 for Revit 2018 & 2019 (working version) and its v2021.25.16 for Revit 2020 & 2021

here is the routine. I have removed the workset visibility node and the set wrokset visibility node then added them back from revit2020 dynamo v2.1.0.7500. no change

Project Setup -3- 3D Workset Views.dyn (33.7 KB)

HI @DangeRuss,
looking at your routine looks like the issue happens because of this node:

try to change the lacing like this
image

that worked! but it now raises a new question for me, I don’t understand why the lacing would need to be different between versions? I did this change in the earlier version and it stopped working but it works for v2.1. I guess I need to do a bit more research into lacing properly. thanks for the help and your time.