getConfigurationState

Returns an array with the current ConfigurationState of all Variants and Materials

getConfigurationState(): Promise<ConfigurationState[]>

Usage:

await modelApi.getConfigurationState();

Return value:

[
    [
        {
            "variant": "Object Switcher",
            "active_object": "NUNO Stand"
        },
        {
            "object": "Adjustable Headband",
            "active_material": "White"
        }
    ]
]

Last updated