Subcommand in toolbar

Hi all,

I don’t find any way to create sub command as shown in the image on Ruby API.

Its doesn’t exist ?

BSunnamed

  Sketchup.send_action('selectRectangleTool:')  ## Rectangle  ### ⌘K
  Sketchup.send_action('selectRectangle3PointTool:')  ## Rotated Rectangle
  Sketchup.send_action('selectCircleTool:')  ## Circle
  Sketchup.send_action('selectPolygonTool:')  ## Polygon
# arcs
  Sketchup.send_action('selectArc3PointTool:')  ## Arc  ### ⌘J
  Sketchup.send_action('selectArcTool:')  ## 2 Point Arc
  Sketchup.send_action('select3PointFitArcTool:')  ## 3 Point Arc
  Sketchup.send_action('selectArcPieTool:')  ## Pie

but if you mean to create your own drop down list for your tool…

you can’t…

john

Hi thanks john_driveupthewall

I mean to create your own drop down list for your tool.
Thanks !

Flyout Toolbar Buttons and Flyout Menus have not yet been exposed in any of the SketchUp APIs.