Seems like there is some error. This is the message I get when I try to build it:
Sorry i forgot to add the python script, put it in the same folder with dollyzoomslider.rhc
slider.py (3.6 KB)
You can use any icon and name it zs
Than in the script change the fileName (line number 41)
or you can simply remove this line
Thanks, I finally made it work on my Rhino!
Works just as you showed in your video. I have two questions:
-
Is it possible to set the initial position of the slider to be lower or to remember its position within the current session? The slider always pops over the Standard toolbar icons and I have to move it every time to a lower position.
-
How to make those tiny vertical lines for the increment darker? My default background is darker, so those lines are nearly invisible in my Rhino.

Thanks, just changed the position to 350, 175, in order to conveniently place it exactly where my mouse pointer was upon clicking the icon that evokes the pop-up slider. ![]()
Black slider appears too dark to me, so I guess I will just leave it intact.
The colors are related to Eto form, maybe a Mcneel developer can help you with that
I tried to replace “Black” with “Grey”, but it returned an error. Ideally, it would be best to be able to set 3 values for a RGB colour or a HEX code. ![]()
The color name appears automatically after the point and use Gray instead of Grey
#self.BackgroundColor = drawing.Colors.Gray
self.BackgroundColor = drawing.Color.FromArgb(255,10,10,255)
#FromArgb(red: int, green: int, blue: int, alpha: int)
#red: The red (0-255)
#green: The green (0-255)
#blue: The blue (0-255)
#alpha: The alpha (0-255)
It still does not work. Another reason why I’m not a programmer, haha.
Can you make the script with a light grey for those increment lines for the and post it here? ![]()
Thanks, it works now. I had to delete the line with the icon directory, because it evoked an error message again. But at least now I can experiment with the background colour to make it closer to my liking. ![]()
However, the numerical field is no longer white. It’s gray instead and a bit difficult to read the numbers. I will have to see if there is a line in the code that controls that, too. ![]()
OK, looks like I did it somehow.
Here are my current settings:
slider.py (4.0 KB)
In my opinion, both scripts by @maje90 and @seghierkhaled must be native display commands in Rhino 8. They are very usable!
Especially Rhino modelers operating in the architectural field will like them a lot.
You can always use BackgroundColor to change color of the control
I found how to do it, cheers. ![]()
Hi, this is still WIP








