Walls

revit

#1

Hi all,

I am trying to apply wall styles to wall types. Here is a snip of my script so far.
I am getting this error:
Warning: Element.SetParameterByName expects argument type(s) (Element, string, var), but was called with (string, string, Revit.Elements.Element).

Let me know if anyone can help clear this.


#2

try this


#3

Thanks for the quick response Marcel. It now reports this error:
Warning: Element.SetParameterByName operation failed.
No parameter found by that name.


#4

use the node element.parameters to check the parameters in the element