maxon.CategoryAssetInterface

Description

Implementation of category assets

Inheritance diagram

Inheritance

Parent Class:

Child Class:

Methods Signature

Create(*args)

Create creates a new category asset.

GetParentCategory(*args)

Returns the category id of the given asset.

SetAssetCategory(*args)

Allows to move an asset into a category.

Methods Definition

static CategoryAssetInterface.Create(*args)

Create creates a new category asset.

Returns

CategoryAsset on success.

Return type

maxon.CategoryAsset

static CategoryAssetInterface.GetParentCategory(*args)

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(*args)

Allows to move an asset into a category.

Parameters