maxon.DatabaseAssetInterface¶
Description¶
Implementation of DatabaseAsset.
Methods Signature¶
|
Creates a new database asset. |
|
Returns the database name. |
|
Stores a asset database name. |
Methods Definition¶
-
static
DatabaseAssetInterface.
Create
()¶ Creates a new database asset.
- Returns
A new reference of
maxon.ColorCategoryAssetInterface
.- Return type
-
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
repository (
maxon.AssetRepositoryRef
) – Asset repository to modify.name (str) – Name to store.
language (
maxon.LanguageRef
) – Optional Language. Default is the program language.