Quantcast
Channel: mel wiki
Viewing all articles
Browse latest Browse all 610

How can I make the Outliner in the Graph Editor not expand connections to incoming channels?

$
0
0
This... 'annoyance' was introduced around Maya 2008 (+- a version?):
If you had objectB.tx connected to objectA.tx, and objectB.tx was keyframed, and you opened the Graph Editor for objectA, you'd see it's 'Translate X' channel expanded, with a pointer to 'objectB.Translate X' under it:

(pretend this is the Outliner in the Graph Editor)
  • objectA
    • Translate X
      • objectB.Translate X

This is annoying enough on it's own, but presuming that there were many connections from B->A, A's Graph Editor could get full of all sorts of unwanted data.
The fix, to turn this "functionality" off:
# Python code
import maya.cmds as mc
# This is the name of the outlinerEditor in the Graph Editor:
graphEd = 'graphEditor1OutlineEd'
mc.outlinerEditor(graphEd, edit=True, expandConnections=True)
My guess is this has something to do with their implementation of animation layers, since the Graph Editor would need to show more than just standard ~animCurves now.

Viewing all articles
Browse latest Browse all 610

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>