Export Script

 From:  Michael Gibson
3025.2 In reply to 3025.1 
Hi Crusoe - I may need a bit more information from you to fully understand - do you mean exporting the selected objects to a fixed file name when you push a shortcut key?

That is possible by setting up the following as the command on a keyboard shortcut:

script:moi.geometryDatabase.fileExport( 'c:\\test.3dm' );


Note that in a script the \ character is used as an escape (for things like \r meaning return), so you must put \\ inside of a script's string value to make an actual \ character in the string's value.


With that in place, you can push that shortcut key to export selected objects to the file c:\test.3dm

- Michael