Grouping blendshape targets

19 views
Skip to first unread message

gavin...@gmail.com

unread,
May 27, 2020, 4:34:46 PM5/27/20
to Python Programming for Autodesk Maya
I was wondering if there was a way to automatically group specific blendshape targets by the name? I want each blendshape target to be within a specific "target directory" (group number) but can't seem to find a method.

I have multiple topologies with the exact same blendshape target names and am trying to better organize them. Any help would be great.

Blackwell ST

unread,
May 27, 2020, 5:16:05 PM5/27/20
to Python Programming for Autodesk Maya
I found a method via Mel while looking at the "Echo All Commands" History:

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"="blendShape1.1/"??? I'm new to coding, so this is alien syntax for me
Reply all
Reply to author
Forward
0 new messages