Hi all!
I am getting an issue with setting a simple sheet parameter that has a storage type of string.
I have a list of sheets where I am changing the order of the parameter “Building No.” by inserting a selected sheet at a certain position, and then trying to renumber the parameters based on the new order. For some reason when the new value isn’t updating and it is keeping the original “bulding no.” value.
The value type of the parameter of string and I am converting the list of numbers to strings before inserting it to the setParameterValue node.
When using the Parameter.SetValue it returns null without any error.
Trying to set the new parameter value but showing the original number.
Trying to set the value with Parameter.SetValue and receiving null values.
Have you tried SetParameterByName instead of Parameter.SetValue? That’s all I can think of from what you posted from you graph.
We’ll need to see the rest of the graph with all node preview bubbles pinned. I’m curious as to why you’re using list levels with lacing on the SetParameterByName node - I originally thought you had a list structure issue, but the SetValue attempt looks like everything is a single list.
I tried had it on auto and it didn’t work. I used the list levels since I thought it might help.
If you look in the first img you will see that I used the setParameterByName method and that the result set doesn’t update the numbering.
For some reason, after restarting revit today and disconnecting a node, reconnecting and running the script, it now works…
The wonders of dynamo 