Grouping Blendshape Targets


#1

I was wondering if there was a way to automatically group specific blendshape targets by it’s alias? I want each blendshape target to be within a specific “target directory” (group number) but can’t seem to find a method. So far, I have this messy Mel script:

optionVar -rm blendShapeEditorTreeViewSelection;
optionVar -sva blendShapeEditorTreeViewSelection "";
optionVar -sva blendShapeEditorTreeViewSelection "";
optionVar -sva blendShapeEditorTreeViewSelection "";
optionVar -sva blendShapeEditorTreeViewSelection "";
optionVar -sva blendShapeEditorTreeViewSelection "blendShape1.1/";
optionVar -sva blendShapeEditorTreeViewSelection "";
optionVar -sva blendShapeEditorTreeViewSelection "";
optionVar -sva blendShapeEditorTreeViewSelection "";
optionVar -sva blendShapeEditorTreeViewSelection "blendShape1.1/";
optionVar -sva blendShapeEditorTreeViewSelection "blendShape1.1/";
optionVar -sva blendShapeEditorTreeViewSelection "0";
optionVar -sva blendShapeEditorTreeViewSelection "blendShape1.1/";
blendShapeCreateGroupForSelected;

But is there a way to replace the blendshape target node “blendShape1.1/” with it’s equivalent alias “blendShape1.smile”"??