With Dynamo or Python how can i "Hide by Category" elements from a revitLinkInstance

Hi there
I have a project where I need to “hide by category”, tags that are elements of a revitLinkInstance , with dynamo or python.
When I try to do it in Revit it works as expected, I just select the tags and click hide by category.
But when I try to do the same in dynamo or python with functions like “view.setCategoryHidden” , or “view.hideCategoriesTemporarly”, nothing happends (only on revitLinkInstance child elements and not on other elements)

Is it even possible?
And if yes, can you give me a solution?

Best regards,

Version?
2024 has a new class - Autodesk.Revit.DB.RevitLinkGraphicsSettings - to assist with this.
i haveb’t had the chance to tinker with it yet.

2 Likes

thanks, do you know where can i find documentation.
in thr revit docs the version stop at 2013