skinning.utils.api.selection module

skinning.utils.api.selection.get_rich_selection_mapping(rich_selection)

Query the weighting of the provided rich selection. That saved data structure looks like below where all the objects are grouped under its node with a dictionary of element and weight values.

data = {
dag: {
{element: weight}, {element: weight},

}

}

Parameters:rich_selection (OpenMaya.MRichSelection) –
Returns:Weight data
Return type:dict