Hi
quick question, how can I make the “x” value cross product as code block! with the “y” value to get 4 results, not the only first one?
i didn’t work, i would work if i make cross product as you can see but can’t make it work in code black
Which dynamo version your using?
Try this:
Math.Round(x<1>+y<2>);
Info here:
https://dynamobim.org/wp-content/links/DesignScriptGuide.pdf#page26
1 Like
Yes super thank you
Be sure to mark something as a solution of it solves your problem so that others can easily find it in the future.
1 Like
The problem here is that 2800 is a list so Dynamo automatically tries to match list structure in this case. If you reduced it to a singleton Dynamo would know to apply the function to all 4 values in your second list.
1 Like