I don't know that it can be done on an open document but the below open methods allows you to set the open or closed state of user worksets:
Application.(ModelPath, OpenOptions)
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean)
Open options has the
OpenOptions.GetOpenWorksetsConfiguration
OpenOptions.SetOpenWorksetsConfiguration
Which can be used to change the WorksetConfiguration object.
i can't get this method well
can you please make it more clear
thanks in advance
I want to be able to open or close worksets while the file is working
not while loading
can you help my please
many thanks in advance