Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVExport.OutputFileExtension
Queries preferred file extension for current export.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVExport | 6.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "AVExport.OutputFileExtension"; AVExportSession ) More
Parameters
Parameter | Description | Example |
---|---|---|
AVExportSession | The session reference number. | $AVExport |
Result
Returns text or error.
Description
Queries preferred file extension for current export.Please set file type first via AVExport.SetOutputFileType.
Examples
Export to desktop folder:
Set Field [AVAsset Export Session::Output File Path; MBS("Path.AddPathComponent"; MBS("Folders.UserDesktop"); "test." & AVAsset Export Session::OutputFileExtension)]
Set Variable [$r; Value:MBS( "AVExport.SetOutputPath"; $$AVExport; AVAsset Export Session::Output File Path)]
Set output file type and query default file extension:
Set Variable [$r; Value:MBS( "AVExport.SetOutputFileType"; $$AVExport; AVAsset Export Session::OutputFileType )]
Set Field [AVAsset Export Session::OutputFileExtension; MBS( "AVExport.OutputFileExtension"; $$AVExport )]
See also
- AVExport.SetOutputFileType
- AVExport.SetOutputPath
- AVExport.SetOutputURL
- Folders.UserDesktop
- Path.AddPathComponent
Example Databases
This function checks for a license.
Created 29th February 2016, last changed 1st March 2016