maxon.CategoryAssetInterface

Description

Implementation of category assets

Inheritance diagram

Inheritance

Parent Class:

Child Class:

Methods Signature

Create()

Create creates a new category asset.

GetParentCategory(asset)

Returns the category id of the given asset.

SetAssetCategory(asset, category)

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

maxon.CategoryAsset

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

maxon.Id

static CategoryAssetInterface.SetAssetCategory(asset, category)

Allows to move an asset into a category.

Parameters