Hello,
I was expecting to have this option in the C# components, but it looks like it was removed from the Python component.
I looked in RhinoCode for a menu “Import file”, “Synchronize source code” or something else, but I didn’t find any possibility.
Is it still possible to synchronize source codes in Script components?
jmv
Exact,
thank you !!
@eirannejad Hi Eiran, would be great to keep the code input default visible. I had to come here to figure the shift click options. Or is this a conscious design decision. Thanks.
It was decided. Most folks use the script component to edit a code and not input a code string. However, Grasshopper has UserObjects so you can drop a script component on the canvas, customize it the way you want and save it as a UserObject. It kinda acts like a template for the component.
Thanks for your feedback, its greatly appreciated. Would a UserObject allow me to use an external editor? I am vim motions user and develop in VSCode with the vim extension. Until now I used UserObjects to store Clusters.
Well UserObject allows you to create a Script component with script input turned on and your other settings. So you can easily wire up the script file path to the script component, and use any editor to edit that script outside of Rhino. Does that make sense?
Yes, makes total sense and is what I am doing now. Thanks!
THANK YOU!
Why is this feature hidden like this? Is there anything keeping it from being permanently visible when you right click. Place it under an advanced tab if you want to hide it, but having to remember “secret” ways getting things done is a little confusing
There’s some reasoning over here:
