PDA

View Full Version : toolbar methods



lscandella
12-07-2010, 04:22 PM
Hi all,

I'd like to use, under rhino.python engine, some VB methods such as:

Rhino.ToolbarCollectionNames
Rhino.CloseToolbarCollection
Rhino.OpenToolbarCollection
Rhino.ToolbarNames
Rhino.HideToolbar
Rhino.ShowToolbar

but I couldn't find them. I assume they have not been ported yet, in which case I'd like to know if they will ever be in order to be able to choose if I shall wait or fall back to VB...

Besides, I tested the first one, Rhino.ToolbarCollectionNames, under VB under Rhino 5beta but it always returns Null

Thanks
Livio

Steve Baer
12-07-2010, 06:08 PM
Hi Livio,
You are correct that the toolbar functions are not included in python yet. I'm checking with other developers here to try and figure out how this should work with our new tabbed toolbar system and on the Mac.
Thanks,
-Steve

Steve Baer
12-14-2010, 05:35 PM
Hi Livio,
I'm going to hold off on implementing the toolbar functions in python until we have figured out how to get the RhinoScript functions to work with the new tabbed toolbar system in V5.
-Steve

lscandella
12-15-2010, 05:05 PM
Steve,

thanks. I look forward for it.

Bye. L

Steve Baer
06-25-2012, 08:58 PM
Hi Livio,
I know this is a very old post, but I wanted to let you know that the toolbar functions will be available in the next V5 beta. These functions will only work on Windows.
Thanks,
-Steve

Dimitry
06-26-2012, 01:54 PM
Hi Steve,
actually that's a great news! Will be awesome if you could put an example of using them.
Thanks
Dimitry

Steve Baer
07-06-2012, 06:06 PM
All of the functions have small samples that accompany them. Here's an example
http://www.rhino3d.com/5/ironpython/functions/showtoolbar.htm