I did of course searched the forum and the whole internet for how to do this. From what I’ve learned, it’s impossible to change the parameters because of the API. But is there a way to read the values… that’s what I urgently need to know
‘WorksetId is not guaranteed to be unique. It is only valid within one model and its value may change when the model is synchronized with central. If unique identification of a workset is needed, the workset’s GUID should be used instead.’
If I try and feed a GUID, I get…
So, unless there is a get linked Workset visibility property/method somewhere, I don’t think it works…
My bad, didn´t read the full title, it states linked.
Makes sense what you said, but in case the method works with a linked model and if the workset id changes he would have to run the script again to get the update values, right?
A bit late here, will experiment with this tomorrow.
Thank you very much for the effort but unfortunately it doesn’t work…
To be clear, I need to get the names of the worksets that are within the link and visible in a view. So open view -> Visibility/Graphics Overrides -> Revit Links -> Custom -> Worksets -> and which are toggled?
I have almost 300 views with 20 different models linked, everyone of which have different worksets of which some are visible. I can easily get which revit links are visible
Hey, the info coming out of the node isn’t telling you which links are visible… it’s telling you that the workset in the link is visible.
However, unfotunately, I was using the WorksetVisibility and that’s not giving the output I’d hoped… If you see below it is returning UseGlobalSetting…
No need to. You did helped me because from what you did achieved we can conclude that there is indeed no property in API to recall the data of worksets of the link. So i knew that it’s can’t be changed but now I know that it can;t be recalled either.
Unless there is anything you can add or maybe other can, I think this topic can be closed.
You can always try asking @Jeremy_Tammik, maybe there is some miracle way off the beaten path that he may know of. Try asking on the Autodesk forums, there tends to be a greater community for specifically API-related stuff.
hi bro @fluffyhugger ,
I just bumped onto this thread… And I see that this topic has been here for a few years now… but I just want to ask if this issue about the API for the visibility settings of linked documents in a view has been solved yet in today’s revit version?