I am having the following issue.I have linked structural models and hidden all the columns. Now I want to unhide them but I can only do this manually. Is there a way this for all the views automatically?
You are feeding in Link Instance of the whole linked structural model. Yes, a Link is a model element. It’s like you are asking the whole link to be un-hidden, which it is not.
What you want to unhide resides in a different model. I am not sure these nodes were meant to work with linked models and respectively with their documents.
I would have to investigate this further, but I am not sure it can be done without modifications to the existing nodes.
Did you have to modify the existing nodes for the task to work? I’m interested to do the same thing that OP wants to do, which is unhide all manually hidden linked elements.
As I remember there’s no chance to hide/unhide linked elements in view/view template. I think API method is not exposed for linked stuff, but maybe I’m wrong (I hope so).
Attached some code to review ( req: spring node and archi-lab):
I think the Revit API doesn’t currently support the methods “hidelements” and “unhidelements” for linked files objects. Will have to wait for a future release.