ScriptExportModelSettings

Export context for script-based shape and model export.

@example:
# Settings class used to control parameters for exporting models via Script based exporter
exportSettings = ScriptExportModelSettings()
exportSettings.setScript("exportscript.py")
ce.export(ce.selection()[0], exportSettings)

 

Methods defined here:

getExportLog

getExportLog(self):

Returns a dictionary containing details of the export.

@return: A dictionary containing details about the finished export.

getScript

getScript(self):

Gets Script field. Python script to use for export callbacks.

@return: Value of Script field.  [str]

load

load(self, name):

Load the named settings from the current scene file.

@param name: The name of the settings to load.  [str]
@return: result. [ScriptExportModelSettings]

save

save(self, name):

Save the named settings to the current scene file.

@param name: The name of the settings to save.  [str]

setScript

setScript(self, stringValue):

Sets Script field. Python script to use for export callbacks.

@param stringValue: the new value. [str]