As the title said, how can I run a rhino python / rhino command to set one curve for a specific grasshopper curve parameter? I am using an amazing plug-in call Human UI. It provides a button that I can run a rhino python / rhino command to do something. And I want to do is, when user press this button, it would prompt user to set one curve for a grasshopper curve parameter.
Is there any existing python code can do that?
I guess I have explained it a bit complicated, actually I just need to know how to use rhino python to pick a curve for a grasshopper component. Like this.
You want to set the parameter’s PersistentData and here is a working example for a few points. On GH3d.com I just found one thread and didn’t get an answer myself.
So, you should perhaps ask David how much you should (not) want to do that…
I am trying to do the exact same thing.
What I basicly want to do is that when the toggle is set to true the python script triggers the same command as when you right click on a curve component and selects “set one curve”.