export_scene_elements
Exports the named elements from the database.
arguments
- "element_names" : String[] (default: null)
A list of element names as entry points to export.
- "export_options" : Map (default: null)
The export options. All exporters support the strip_prefix options. The name of the option is used as the key of the map. E.g.: export_options["strip_prefix"] = "myfile::". If a value is an Attribute_data type (IE: a Map containing a string "type" and a "value") then the "value" is converted to "type" and replaces the original value. This allows for specifying options which have strict typing requirements.
- "filename" : String
The filename to which to export to. This file must be within the content root directory. A relative path will automatically be resolved within the content root. An absolute path must terminate within the content root or else export will fail. A file URI (file://) may be used instead of a filename in which case the path will always be interpreted as relative to content root.
- "recurse" : Boolean (default: true)
Indicates whether referenced elements should be exported, too. Default: true.
- "time_stamp" : String (default: null)
An optional time_stamp, if it is set only elements changed or added after it will be exported.
return value
IO_message[]An array of IO_messages containing error numbers, error messages and error severities associated with the export operation. On successful export will contain 1 element with code 0. On failure an error is returned and the extra error information will contain the array of IO_messages containing more specific information.