Exploration of Scripting in MOI

 From:  Michael Gibson
9490.5 In reply to 9490.4 
Hi Dave, for select all try:

moi.geometryDatabase.selectAll();

If you want to do something that is in the regular UI you can look in the .htm files in the UI subfolder to see what it's doing. Most stuff is in SidePane.htm so for example if you search in there for "SelectAll" that would take you to a button with with some script on it's onclick="" handler with the above code in it.

Also if you have your code above in its own .js file you can leave off the "script:" parts in front, that's something that you can put in the start of a shortcut key definition to tell the shortcut key processor that it's a chunk of script code in the shortcut key instead of a command name.

- Michael