Click or drag to resize

ApiSessionReimportAsset Method

Schedules an re-import of an asset from its "OriginalSource" filename. The methods returns immediately. It just enqueues an job that is processing in the background. Use WaitForAssetProcessing(WaitForAssetProcessingArgs) when you need the job(s) to be completed before proceeding

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public void ReimportAsset(
	ObjectProxy aAsset
)

Parameters

aAsset
Type: Articy.ApiObjectProxy
an object proxy whose type is 'Asset'
Exceptions
ExceptionCondition
ArticyApiExceptionErrorCode.AssetObjectExpected when aAsset is either null or not an asset
ArticyApiExceptionErrorCode.WriteDenied when aAsset is not currently claimed
ArticyApiExceptionErrorCode.AssetFileNotFound when the file specified in the property 'OriginalSource' does not exist.
See Also