algorithmic modeling for Rhino
Hi All,
Another issue..
I'm trying to multiply a number by the branch it is on. So in this case I have a datatree with 20 branches. Each branch has the number 2 on it. Then the number 2 on branch 0 should have the answer 2 * 0 = 0
The number 2 on branch 1 should have the answer 2 * 1 = 2
The number 2 on branch 2 should have the answer 2 * 2 = 2
I want to code this in python. I succeeded to multiply the numbers. But the outcome of the python component has the number of branches as integers on each branch. I only want one answer per branch.
What is causing the python script to output that amount of integers? And how do I get only one integer per branch?
Tags:
file
file
Thanx again Naruto!:)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by