Hello,
I’m trying to come up with dynamo scripts that looks at the Parameter (Material name) for Parts and then add a code in a different Parameter based on the (Material name).
Please see the Image below for what I have done and the error I’m getting
Thank you for the help
My guess is that this parameter needs a string. Which means this will require converting the material element into text, such as via an Element.name node.
Jacob - Thank you for the help.
I tested the (Element.name) the script is working now but it’s not replacing the name from (5.5 Metal Stud) to (9010) it’s just adding (5.5 Metal Stud).
Please see below.
Material.Name should go before the code block, not after.