I’m setting up a Project Start Up script to auto create worksets, set up their global settings, and then set individual workset visibilities into view templates. I have creation and global settings operating. I am struggling with using the Archilab node View.SetWorksetVisibility. The Archilab node does not seem to want to lace in the same method Element.SetParameterByName operates and no matter which pattern of iterations I try, I can’t seem to get it to assign properly. Has anyone ever ran into this and found a solution?
From top to bottom on the left, I have:
list of view templates as their view elements
the worksets as pulled from archilab.Workset.GetAll() for compatibility with View.SetWorksetVisibility
The list of visibility settings as a lists that match formatting of the other lists