Links ManageWorkset parameters

python
#1

hi dears,
is there a way to get the values for the link worksets if it is opened or closed ?

#2

Hi @khuzaimah.ElecEng,

Yes it is possible. (UserWorkset.IsOpen property in the API)

1 Like
#3

thanks @Alban_de_Chasteigner
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 ?

#4

There is a method to close worksets when you open a revit document but I can’t find a node for that.

https://apidocs.co/apps/revit/2019/1e4d95c3-ced8-97a9-eff6-ee0752d87d37.htm

#5

thanks, I will try to write a python script for it, am not professional in that , but I will try

thanks @Alban_de_Chasteigner