Parameter copy - write to family type parameter

This is a simple script, but it will not allow me to write to the “type” family type parameter. How can I fix this?
ParameterCopy_241115.dyn (14.8 KB)

@ahQ8GZX

this question is old as Revit … snoop topics like this

I am sorry for this being such an old question (and with an obvious solution?), but I have tried to read old post, and looked at the one mentioned but I do not understand how to use this information to solve my problem. If this is so simple, I am sorry, but it would be of great help if someone would be so kind to tell me in plain text. There are nodes mentioned in the post that I cannot find in Dynamo. Again, I am asking for help solving this.

Post a screenshot of your graph in action, with all the node preview bubbles pinned, so we can see what you’re doing. Be sure to include any warning or error messages you may be getting as well.

Hi Nick, attached an image of the workspace with pinned preview bubbles as well as a capture of the warning message - it all look correct, but the action of the last node has the warning message. Thank you in advance for any help in solving this.


Look at the output of the top node which extracts data for the same parameter, it is giving you elements out not a string.

Therefore i would say that the input needs to be elements instead of a string as you have done for the set parameter node.

1 Like

Exactly this. The error tells you that the parameter isn’t a string. The Type parameter expects an element of the corresponding Type that you wish to change to. Your node titles and string values aren’t visible so we can’t actually see what you’re attempting to do to help you, but you need to get the element Type that you want to assign and use that.