I’m having trouble in setting my instance parameter values into a single element coming from an excel list (Credits to BTM’s blogpost for the ElementSelector codeblock).
In the attached workspace image, I’d like to assign the Parameter Value at index 0 to the Parameter Name at index 0, Parameter Value at index 1 to Parameter Name at index 1 and so on…
After getting the value based on Parameter you need to add SIUnit.Value node to extract number from Parameter Value and then pass it to Element.SetParameterByName
The value read from excel is string because it has unit in it “200.00m” you may need to remove the unit from excel and run your graph. Otherwise use following to convert the string to number.
I am not sure what’s the value returned from your custom node. I was proposing my solution for your first graph in this post, where you are reading from excel and get bunch of strings which you want to pass as parameter to Element.SetParameterByName.