maxon.CategoryAssetInterface¶
Description¶
Implementation of category assets
Methods Signature¶
|
Create creates a new category asset. |
|
Returns the category id of the given asset. |
|
Allows to move an asset into a category. |
Methods Definition¶
-
static
CategoryAssetInterface.
Create
()¶ Create creates a new category asset.
- Returns
CategoryAsset on success.
- Return type
-
static
CategoryAssetInterface.
GetParentCategory
(asset)¶ Returns the category id of the given asset.
- Parameters
asset (
maxon.AssetDescription
) – Asset to investigate.- Returns
Category id on success.
- Return type
-
static
CategoryAssetInterface.
SetAssetCategory
(asset, category)¶ Allows to move an asset into a category.
- Parameters
asset (
maxon.AssetDescription
) – Asset to move.category (
maxon.Id
) – Category to use.