algorithmic modeling for Rhino
Hi Djordje,
Thank you for helping me out!!! Is it because global variable is unecessary to declare in python?
Thank you!
We do not have a function or class in here (where you would have to take care of the variable scope), just a regular procedural code. So every variable is a global one.
The trick is to use the flow control: you reference a variable, recL = [], and then by changing the flow control you do futher changes to recL.
Wao, it is amazin. As a beginner , this trick is realy helpful for me.
Thanx!XD
This thread also has some nifty approaches to storing persistent data using the GHPython component.
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
© 2024 Created by Scott Davidson. Powered by