algorithmic modeling for Rhino
I have cracked a mystery of mine (Actually nothing very amazing) about storing data into a shared variable in Grasshopper.
The idea is seen in the Grasshopepr Tools in C# by Giulio piacentino called Buffer:
http://www.giuliopiacentino.com/grasshopper-tools/
I've got the line of code from David's Mesh Deform Script
http://www.grasshopper3d.com/forum/topics/store-a-mesh-in-a-temporary
The trick is to declare the variable in the lower part of the script with the following line:
Private Shared i As Integer
i is whatever your variable name want to be.
Integer could be any data type you need.
Cheers
Victor
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by