Subcommand in toolbar


#1

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


#2
  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


#3

Hi thanks john_driveupthewall

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


#4

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


#5

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.