maxon.DatabaseAssetInterface

Description

Implementation of DatabaseAsset.

Inheritance diagram

Inheritance

Parent Class:

Child Class:

Methods Signature

Create()

Creates a new database asset.

GetRepositoryName(repository, language, …)

Returns the database name.

SetRepositoryName(repository, name, language)

Stores a asset database name.

Methods Definition

static DatabaseAssetInterface.Create()

Creates a new database asset.

Returns

A new reference of maxon.ColorCategoryAssetInterface.

Return type

maxon.DatabaseAsset.

static DatabaseAssetInterface.GetRepositoryName(repository, language, fallbackName)

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(repository, name, language)

Stores a asset database name.

Parameters