Walls

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.

try this
InkedWallStyle%20to%20WallType_LI

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

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