DAZ Script | |
---|---|
Boolean | canExport ( String filename ) |
DzExporter | findExporter ( String filename ) |
DzExporter | findExporterByClassName ( String className ) |
Number | findExporterIndex ( String filename ) |
DzExporter | getExporter ( Number exporterIdx ) |
Number | getNumExporters () |
void | makeExportFileFilter ( DzFileFilter filter, String defaultFilter=“” ) |
DAZ Script | |
---|---|
DzError | exportFile ( String fileName, Number exporterIdx ) |
DzError | exportFile ( String fileName, Number exporterIdx, DzFileIOSettings options ) |
String | getExportPath () |
Boolean | isExporting () |
void | setExportPath ( String path ) |
void | fileExported () |
void | fileExportStarting () |
There is only one instance of this manager in an application. This instance is created and owned by DzApp. Request the instance via DzApp::getExportMgr().
See Also:
Boolean : canExport( String filename )
Uses the extension from each of the exporters and attempts to match an exporter with the extension of the filename.
Parameter(s):
Return Value:
true
if an exporter was found that can write the given file.DzExporter : findExporter( String filename )
Uses the extension from each of the exporters and attempts to match an exporter with the extension of the filename.
Parameter(s):
Return Value:
DzExporter : findExporterByClassName( String className )
Uses the class name of each of the exporters and attempts to find an exporter with the given class name.
Parameter(s):
Return Value:
Number : findExporterIndex( String filename )
Uses the extension from each of the exporters and attempts to match an exporter with the extension of the filename.
Parameter(s):
Return Value:
DzExporter : getExporter( Number exporterIdx )
Parameter(s):
Return Value:
Return Value:
void : makeExportFileFilter( DzFileFilter filter, String defaultFilter=“” )
Populates the given filter with all the types recognized by the export manager.
Parameter(s):
DzError : exportFile( String fileName, Number exporterIdx )
Export the scene contents to a file.
Parameter(s):
Return Value:
DzError : exportFile( String fileName, Number exporterIdx, DzFileIOSettings options )
Export the scene contents to a file.
Parameter(s):
Return Value:
String : getExportPath()
Gets the default export directory - this is typically the last directory that the user exported a file to, and will be the directory that user will be taken to next time the file export dialog is displayed.
Return Value:
Boolean : isExporting()
Return Value:
true
if there is currently a file being exported, otherwise false
.void : setExportPath( String path )
Sets the default export directory - this is the directory that user will be taken to next time the file export dialog is displayed.
Parameter(s):
void : fileExported()
Signature:“fileExported()”
Emitted when a file export operation is finished
void : fileExportStarting()
Signature:“fileExportStarting()”
Emitted when a file export operation is started