maxon.DatabaseAssetInterface

Description

Implementation of DatabaseAsset.

Inheritance diagram

Inheritance

Parent Class:

Child Class:

Methods Signature

Create(*args)

Creates a new database asset.

GetRepositoryName(*args)

Returns the database name.

SetRepositoryName(*args)

Stores a asset database name.

Methods Definition

static DatabaseAssetInterface.Create(*args)

Creates a new database asset.

Returns

A new reference of maxon.ColorCategoryAssetInterface.

Return type

maxon.DatabaseAsset.

static DatabaseAssetInterface.GetRepositoryName(*args)

Returns the database name.

Parameters
  • repository (maxon.AssetRepositoryRef) – Asset repository to use.

  • language (maxon.LanguageRef) – Optional Language. Default is the program language.

  • fallbackName (str) – Fall back string of no name was found.

Returns

String on success.

Return type

str

static DatabaseAssetInterface.SetRepositoryName(*args)

Stores a asset database name.

Parameters
  • repository (maxon.AssetRepositoryRef) – Asset repository to modify.

  • name (str) – Name to store.

  • language (maxon.LanguageRef) – Optional Language. Default is the program language.