Family Type SetParameterByName

I duplicate family type and want set parameter “b” of family type new?

1 Like

I think k your code may be wrong for setting the param. Why not just do it with Element.SetParameterByName node outside of the python script?

See here:

thanks for the link.
add .ToDSType(True) work has been resolved

Thanks for posting the solution @pvhuyg. Would you please mark the post as solved?