Exporting content using the command line tool
Umbrafied content can be exported using the CLI-tool. For this you need your api-key, and the locator of the content you wish to export.
The command line parameters can be accessed with the command: .\umbra.exe help export
.
Scene export parameter | Type | Description |
---|---|---|
--export-target | String | Target directory/file to export a scene to. Default is "umbra_export" |
--export-umbra | Bool | Export in Umbra format |
--export-umbra-file | Bool | Export in Umbra format in a single file |
--export-obj | Bool | Export in .obj format |
--source-dir | String | Directory for a local source file |
Cloud computation parameter | Type | Description |
---|---|---|
--api-key | String | Your Umbra API-key. Find it at https:/ |
--locator | String | Scene locator link. Enclose in "quotes". |
The locators for your umbrafied scenes can be viewed with the command:
.\umbra.exe list-scenes --api-key xxx
An example of an export command to .obj:
.\umbra.exe export --api-key xxx --locator "yyy" --export-obj true --export-target "x:\Umbra Export\Example export directory"
The directory will be created upon export.
When exporting to .obj format, the exporting creates single tiles, and complete level-of-detail sets of the geometry.