Wednesday 7 December 2011

Color Swatch Toolbar



UPDATE #2:
Here is the second version of the toolbar:




Here is the easy-object-color-setting tool! Just select desired object to be colored, and click on the color button! You can learn how it is done by just looking at the button macro.


UPDATE #1: I assigned a macro to "CTRL+Shift+C" via "Options-> Keyboard" as this:
NoEcho -Toolbar Toolbar "ufubo_v5" Toggle "uColorSwatch" Enter Enter
And added this to the end of all buttons in the toolbar:

-Toolbar Toolbar "ufubo_v5" Show "uColorSwatch" No Enter Enter
Example Black Button before:
! _Select _Pause _Pause
-Properties O C O
0,0,0
Enter Enter
_SelNone
And now:
noecho
! _Select _Pause _Pause
-Properties O C O
0,0,0
Enter Enter
_SelNone
-toolbar toolbar
"ufubo_v5" show
"uColorSwatch" no
enter enter
So when you hit "CTRL+Shift+C" the toolbar pop-ups, and when you click on a button the toolbar closes after running the command.





No comments:

Post a Comment

Note: only a member of this blog may post a comment.

About Ufuboceros

Ufuboceros aims to help Rhino users by contributing Rhino's default user interface or by explaining some less known tips. Most of the posts are about custom toolbars and buttons, menu arrangements and macros for specific needs. Please help us by giving feedback and making contributions. You can also share our posts anywhere, including a credit to Ufuboceros.

Contact Us

Name

Email *

Message *

Popular Posts

Designed By Blogger Templates ‒ Customized by Ufuk Bircan Özkan