- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
for various rigging functions and situations, it's necessary to acquire the blendShape nodes connected to scene objects. I had working methods up until Maya 23.
Previously, I used this:
blendShapes = pm.listConnections(shapeNode, type='blendShape', scn=True)
But then it stopped working in Maya 22 and I had to query for objectSets...
objectSets = pm.listConnections(shp,s=True, type = 'objectSet', scn=True)
if objectSets:
for objSet in objectSets:
lst = pm.listConnections(objSet, type = 'blendShape', scn=True)
for ths in lst:
if not ths in blendShapes:
blendShapes.append(ths)
But now in Maya 23, there's a long chain of intermediate nodes (see image).
Is there some shortcut to just get the connected blendShape nodes on my meshes without having to devise some overly complex reverse daisy-chain search?
Solved! Go to Solution.