algorithmic modeling for Rhino
So I had an idea but there might a better way to achieve this. What I would really like to be able to put data into the Rhino file that Grasshopper would see. This way I could use that same grasshopper definition across multiple files. For instance I could put something like Height = 12 in the Rhino file either as text or maybe DocumentUserText. Then you could set up a Pipeline to read that info. This way I could have 1 file with H=6 and one with 12 and the definition would react accordingly. Maybe there is a way to already to this that I am overlooking.
Tags:
Actually maybe a better question/comment would be can we see the implentation of the GetUserText and GetDocumentText functions for python. Then I could do exactly what I am after.
Awesome thanks. That is exactly what I was looking for.
One question and important step I was missing so if just plug a crv object into python it sends a GUID but that's not the same as the GUID of the object in Rhino?
Probably not. If you want to operate on GUIDs then you'll have to plug the curve into a free-floating GUID parameter first.
--
David Rutten
david@mcneel.com
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