Hello everyone,
How do I make parameter value 148 of index [1] the same for index [0] value 148 and [2] value 148, and the same process is repeated n times
Hello everyone,
How do I make parameter value 148 of index [1] the same for index [0] value 148 and [2] value 148, and the same process is repeated n times
@Tiago Connect the output of SetParameter node to the input of GetParameter node and check.
@Tiago Your list lengths don’t match.
You are supplying 4 values for 3 elements which is why it’s failing.
hi @Tiago
can you share a sample file and your dynamo script? it would be helpful to us to debug/read your script if we can play with them.
-biboy
[link rvt](ht[HIDRÁULICA.dyn|attachment]
(upload://wSGYQYeWkB5rgLEHF7s2UclGP17.dyn) (168.9 KB)
tps://www.transfernow.net/jJj5Em112020)
hi @Tiago
we cannot download the dynamo file.
thanks
Your initial logic of grouping elements is flawed.
You are selecting pipes and checking what is connected to it.
In doing so you are putting the same pipe fitting in multiple groups because that fitting can be connected to multiple pipes. So when you start writing the parameter value, a single fitting gets overwritten with multiple values (shown with red) and the last values (circled black) stays on to be displayed in the result of the get parameter node.
HIDRÁULICA.dyn (168.9 KB)
is there a solution to get the result I need?
@Tiago Depends on how you answer these questions:
And still the solution might not be an easy one!
the correct way I intend to choose and in the downstream direction of the liquid flow, [0 1 2]
in the image below in the direction of the red arrow
hi almost finished with the script, but i cannot find the Corte parameter. is this the corte parameter?
@Tiago I still don’t understand but this is what I tried:
1.dyn (32.7 KB)
-Take all pipes
-Find midpoint of all pipes
-Sort pipes based on their midpoint
-Get connected elements
-Remove duplicate connected elements down the list
-Get pipe parameter
-Set fitting parameter
yes or “Trecho de Tubulação”
is there a way for the yellow nodes not to issue this warning?