fusion_addin_framework.utils.get_values

fusion_addin_framework.utils.get_values(current_inputs: adsk.core.CommandInputs)Dict[str, Any]

Extracts the command values from the given CommandInputs collections and maps them to the id of their command.

Parameters

current_inputs (adsk.core.CommandInputs) – A (arbitrary) command inputs group. In most cases this should be the inputGroup of the currentlly active command recieved in the inputChanged event.

Returns

The values of the current command inputs mapped by their id. If multiple values

can be selected a corresponding list is returned.

Return type

Dict[str, Any]