A DataDescriptionDefinition represents the "raw" description of data attributes. Such a definition is stored e.g. in a static file and loaded by Cinema 4D. The description definition is the base for the final, "resolved" data description, see DataDescription Manual.
General information (maxon::DESCRIPTION::DATA::INFO) is accessed with:
The various attribute descriptions in the definition are stored as DataDictionaries (using the alias maxon::DataDescriptionEntry):
Usable observables are:
ObservableDescriptionChanged:
Is fired on any change of the definition.DataDescriptionDefinitions are stored in databases. These databases are managed with maxon::DataDescriptionDefinitionDatabaseInterface.
Description definition databases can be stored in JSON files. These files are loaded with RegisterDatabaseWithUrl().
The databases are accessed with:
For an example see Loading Data Descriptions.
The descriptions stored in the databases are accessed with:
A stored description definition can be updated with:
It is possible to directly access attributes stored in the description definitions:
A callback function can be registered: