Dereferencing Non Pointer : Set Parameter by Name



I’m trying to set the value of a family yes/no parameter to 1. I’ve selected it okay but I can’t see what is wrong with how I’m trying to reassign it…

Can anyone help?

maybe you select the element and not the result of “element.get parameter value by name” and you will succeed!


Of course!!

Needed to change the String to an Integer as well but all now working - thanks. :o)