Class PathToAssetID
Returns AssetIDs using asset paths.
Defined in: pathToAssetId.js.
Constructor Attributes | Constructor Name and Description |
---|---|
PathToAssetID(src)
Returns assetIDs using asset paths.
|
Class Detail
PathToAssetID(src)
Returns assetIDs using asset paths.
Locates assets by the list of paths in 'src' and returns their AssetID values. These paths are parsed into a text object keyed by AssetPath from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/pathToAssetID?src=['Path']
http://127.0.0.1:55555/wf/pathToAssetId?src=["Assets/Library/test.jpg"]
- Parameters:
- src
- Path/list of paths of files to get assetIDs from.
- Returns:
- ( {'AssetPath': "AssetID",...} )