algorithmic modeling for Rhino
It would be helpful if when a component is selected that the wire would NOT fade from green to grey. In larger definitions, I regularly highlight a component to examine its connections. The current UI fades the Wire back to grey as it moves farther away from the selected component thereby making it difficult to see which component it is actually connected to. I would prefer that the highlighted component wires would stay visually contrasted for the entire length of the wire. In fact another completely different color might be even better. I know you have many more pressing things to work on but if possible it would really help readability.
Thanks,
Stan
Tags:
Hi Stan,
go to File->Special Folders->Settings Folder and find the grasshopper_gui.xml file. Open it in any text editor, though one that supports XML syntax highlighting would be ideal. I use Notepad++, it's free and has a lot of useful tools.
Inside the Xml, find the entry that looks like this:
<item name="wire_selected_b" type_name="gh_drawing_color" type_code="36">
<ARGB>50;0;0;0</ARGB>
</item>
It's probably at the very bottom. Change the 50;0;0;0 to the colour you'd like. The four numbers represent the transparancy (0 = fully transparent, 255 = fully opaque), then red, green and blue. Numbers must all be between 0 and 255. For example, to make the other end purple:
<item name="wire_selected_b" type_name="gh_drawing_color" type_code="36">
<ARGB>255;150;0;150</ARGB>
</item>
wire_default is the normal greyish colour
wire_empty is the normal orange colour used for blank parameters
wire_selected_a is the colour at the selected end of a wire
wire_selected_b is the colour at the unselected end of a wire
you can always remove the entire Xml block (as shown above) to revert to factory defaults, or delete the entire grasshopper_gui.xml file, it will get automatically regenerated if it's missing.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Oh, the grasshopper_gui.xml file is saved on Grasshopper shutdown, so close Rhino when you edit this file, save it, then start Rhino again.
It's also possible to change this colour at runtime using the Grasshopper SDK, but I don't have any UI yet for skinning.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Worked Perfectly,
Thank you David!!
-Stan
Hello David,
I've edited this file (while Rhino was not running) yet Grasshopper doesn't respond to the changes in the file (I checked the file and the changes are still there). Do you have any idea what could be wrong?
Thank you,
Dustin
Probably the wrong file gets loaded in that case. Can you search your system for all files called grasshopper_gui.xml ?
--
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