AssetImporter

consoledoc.h

Defines properties for an AssetImportObject object. @AssetImportObject is a SimObject derived object intended to act as a stand-in for the to-be imported objects. @It contains important info such as dependencies, if it's been processed, any error/status issues and the originating file @or if it's been programmatically generated as part of the import process.

More...

Public Attributes

string

The Id of the module the assets are to be imported into.

string

The Id of the module the assets are to be imported into.

string

The path any imported assets are placed in as their destination.

Public Functions

void

Creates a new script asset using the targetFilePath.

addImportingFile(String path)

Creates a new script asset using the targetFilePath.

String
autoImportFile(String path)

Creates a new script asset using the targetFilePath.

void

Creates a new script asset using the targetFilePath.

void

Creates a new script asset using the targetFilePath.

String

Creates a new script asset using the targetFilePath.

int

Creates a new script asset using the targetFilePath.

getAssetItem(int index)

Creates a new script asset using the targetFilePath.

getAssetItemChild(AssetImportObject assetItem, int index)

Creates a new script asset using the targetFilePath.

int

Creates a new script asset using the targetFilePath.

int

Creates a new script asset using the targetFilePath.

void

Creates a new script asset using the targetFilePath.

void

Creates a new script asset using the targetFilePath.

void
resetImportSession(bool forceResetSession)

Creates a new script asset using the targetFilePath.

void

Creates a new script asset using the targetFilePath.

void

Creates a new script asset using the targetFilePath.

void
setTargetPath(String path)

Creates a new script asset using the targetFilePath.

bool

Creates a new script asset using the targetFilePath.

Detailed Description

Defines properties for an AssetImportObject object. @AssetImportObject is a SimObject derived object intended to act as a stand-in for the to-be imported objects. @It contains important info such as dependencies, if it's been processed, any error/status issues and the originating file @or if it's been programmatically generated as part of the import process.

Public Attributes

string finalImportedAssetPath 

The Id of the module the assets are to be imported into.

string targetModuleId 

The Id of the module the assets are to be imported into.

string targetPath 

The path any imported assets are placed in as their destination.

Public Functions

addImportingAssetItem(AssetImportObject assetItem, AssetImportObject parentItem)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

addImportingFile(String path)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

autoImportFile(String path)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

deleteImportingAsset(AssetImportObject assetItem)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

dumpActivityLog()

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

getActivityLogLine(int i)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

getActivityLogLineCount()

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

getAssetItem(int index)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

getAssetItemChild(AssetImportObject assetItem, int index)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

getAssetItemChildCount(AssetImportObject assetItem)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

getAssetItemCount()

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

importAssets()

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

processImportingAssets()

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

resetImportSession(bool forceResetSession)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

resolveAssetItemIssues(AssetImportObject assetItem)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

setImportConfig(AssetImportConfig importConfig)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

setTargetPath(String path)

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec

validateImportingAssets()

Creates a new script asset using the targetFilePath.

return:

The bool result of calling exec