Use the ruby code to simulate a mouse click on the sub-menu in menu

I know how to do this on MS Windows …

Search the Ruby API category on “Win32OLE SendKeys”

Here is one post of mine … How to set API Export IFC Options? - #2 by DanRathbun

For Mac search the forum for “cliclick”.