is there a way to get the values for the link worksets if it is opened or closed ?
Yes it is possible. (UserWorkset.IsOpen property in the API)
that is exactly what I want
if I want to get this data to set them to another links , to be the same
do you have a Node for that ?
There is a method to close worksets when you open a revit document but I can’t find a node for that.