algorithmic modeling for Rhino
Holaaaa,
anyone know if someone has already tried before manipulating SaveState function (to save combinations of parameters via Solution> Save State) within a component on the canvas?
Can this be done?
I guess that's a question for David Rutten, where this function is stored? how to access it?
What I want to do is use Boolean conditions to decide whether or not to save the combination of parameters. I have to automate the production and I would also automate the selection of possible outcomes, rather than saving geometry, I want to save the settings.
Thank you very much.
Tags:
GH_Document.StateServer.NewStateFromDocument()
however that shows the UI.
You can also create new states from scratch by constructing a new Kernel.GH_State instance, then adding all sliders etc. you wish to include using the AddStateObject() method on GH_State. You should also give the state a name, unfortunately it seems you cannot assign a date to it, all the setters are private.
Once you have a new GH_State, use GH_StateServer.Add(GH_State).
Fine, thank you David!
Now I could find references in the forum.
http://www.grasshopper3d.com/forum/topics/triggering-a-save-state
http://www.grasshopper3d.com/forum/topics/state-saved-with-custom-c...
http://www.grasshopper3d.com/forum/topics/reinstate-stored-state-fr...
Your do not see this as an indispensable component for GH2?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Switch to the Mobile Optimized View
© 2025 Created by Scott Davidson.
Powered by