Quickly show/view all nodes in the scene (such as renderPartition) in the Node Editor

Quickly show/view all nodes in the scene (such as renderPartition) in the Node Editor

kjw.chiu
Contributor Contributor
673 Views
2 Replies
Message 1 of 3

Quickly show/view all nodes in the scene (such as renderPartition) in the Node Editor

kjw.chiu
Contributor
Contributor

I'm working on understanding how Maya works "underneath the hood" by creating simple scenes and examining them in the Node Editor. Is there a quick way to show all existing nodes in the Node Editor? Currently I select all in the Outliner, add all selected to the Node Editor, then repeatedly do select all and hit ∞ in the Node Editor.

0 Likes
Accepted solutions (1)
674 Views
2 Replies
Replies (2)
Message 2 of 3

Kahylan
Advisor
Advisor
Accepted solution

Hi!

 

This Pythonscript will select all the nodes in the Scene for you. All you have to do is add them to the nodegraph using the "Add to Graph" button after.

 

import maya.cmds as mc

all = mc.ls()
mc.select(all)

 

I hope it helps!

Message 3 of 3

kjw.chiu
Contributor
Contributor

Great, thank you!