Dears,
I have a general question about Dynamo work principle.
I prepared one script for numbering all sheets at my project. (like XX-DF-HF-LL-01 which all letter designated some information from project)
However i need to run this script several times to achieve proper result. At first run it changes half part of sheet number. At second run it changes another half of sheet number.
My question is, how does dynamo handles my nodes? I mean with which order? Is it important which node i placed to screen first?
It basically follows the strings, so whichever node is wired in one after the other. After that unconnected nodes work top left to bottom right I believe.
If you post your graph we can review and tell you why this is happening. Should be doable in one run.
The concepts of tying things together still apply, so if you’re worried someone will see something change names or data or rebuild something similar which doesn’t use your exact nodes.
If you have multiple (unconnected) node groupings within a single graph that you want to run in a specific order you’ll have to use a Wait/Passthrough node.
You can you use a List.Create node, followed by a List.FirstItem before some node that needs to wait for others, than you link one of it’s input on the 0 item of List.Create and anything that you need to wait for on the others items.
Dears,
I am still could not able to manage to do what i want to do.
Description:
There is one parameter: Sheet Number
Before I need to add “1” to all sheet number parameter at my project. Afterward i need to replace this value with “2”. It is important to perform this task ones after another.
How I have to use the node you suggested me to use. Please help
Dear Jacob,
Previously volunteers suggest me two methods. But I could not apply that method to my script. I added my script and volunteers suggestion to Test.dyn attached at this post. Could you please help me to apply one of method…
Briefly Description: initially I want to add 1 to sheet number and then 2 at same sheet number.
Try taking the last node of the part you want to run in the graph first and put it into a List.Create node with the first node of the last part of the graph you want to run, then you use get item at index node from list.create to only pass on what you need from the list create node. The last part of the script wont run until the list create node gets its information from the first part of the graph.
Hope it makes sense. Cannot create an example as I am not in front of my computer
The graph you posted doesn’t really work as you’re trying to set two values to a single parameter. Let’s say you wanted to append a A in front of all sheet numbers 101-102 in a file, and add a -01 to the end of the same files. You can’t just set the sheet numbers to 1, and then set the sheet numbers to 2 as your attempted graph does.
Get the sheet number parameter values (result: {101, 102})
Append the A (result: {A101, A102})
Append the -01 (result: {A101-01, A102-01})
Set the sheet number parameter value (result: sheets get value)
There is no required order to the two. And you can’t mix and match the values to have it be A sometimes and B other times, as no mater what you do with Dynamo, Revit (or any other database or BIM software) won’t let you have two values for a single parameter at the same time - you’ll only ever see one of them.
Dear Jacob,
I am planing to give 1 and then 2 value to single sheet number one after another. I mean first it must add 1 value to sheet numbers then it must be add 2 value to same sheet number parameter of same sheet.