Hello, the dev told me that you should be able to access to the datasmith functions:
e.g. EpicGames::Datasmith.export <filename>, <dir>
- will export model into <dir>/<filename>.udatasmith
The sketchup datasmith plugin is a Ruby script itself. The files are installed into “C:\ProgramData\SketchUp\SketchUp XXXX\SketchUp\Plugins\UnrealDatasmithSketchUp”, main Ruby file for the plugin (where all the export functions are defined and called) are in plugin_main.rb
For hiding/unhiding question, in case you did not find them yet, link to official ruby documentation Class: Sketchup::Drawingelement — SketchUp Ruby API Documentation