I guess for some of you this is an idiot question, but i can’t figure out wat i am doing wrong here. I want to run a script that hides grids from linked models in the active view.
I think i am getting close but i get the following error.
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 42, in
TypeError: expected View, got List[Element]
To my understanding the active view i filtered out is a view and not a list?
Could somebody clarify this for me please?
Ok i now understand what i did wrong there but now it says Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed. _ Traceback (most recent call last):
_ File “”, line 43, in TypeError: expected View, got ElevationMarker
I also noticed i made some errors with the filteredelementcollectors , but still the error.
code looks like this now.
Thanks @jean very useful.
However i work for a big company and all the different packages makes it hard to share the Dynamo scripts with alot of other users. I lost count of how many i already used.
Thats why i want to do code it myself with Python.
Don’t know why @Tomasz_Puchala says it is not possible when there is a node?
The Quasar node creates a view filter. It’s smart, but you can do it manually in a few clicks. @Tomasz_Puchala is right, what you’re trying to do isn’t currently possible with the API.