Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

How to duplicate nodes in node editor? (not hypershade)

How to duplicate nodes in node editor? (not hypershade)

mostly_human
Advocate Advocate
4,888 Views
2 Replies
Message 1 of 3

How to duplicate nodes in node editor? (not hypershade)

mostly_human
Advocate
Advocate

I have a bunch of math nodes that I want to duplicate with connections since I need to use the same group in several other places but cant figure out how to do that.  Hypershade has the "duplicate with connections" option but I cant figure out the same process for the node editor.

0 Likes
Accepted solutions (1)
4,889 Views
2 Replies
Replies (2)
Message 2 of 3

osidedan
Advocate
Advocate
Accepted solution

I'm not sure if I fully understand what you're trying to do, but if you need to duplicate the object and all of its input nodes you can do this: Select your object, and in the main Maya window go to Edit>Duplicate Special and click the options square. In the window that pops up, you can choose to duplicate the input graph or duplicate input connections. This will duplicate the object and all of its inputs, as well as the settings on each of the incoming nodes. Hope that Helps!

0 Likes
Message 3 of 3

Anonymous
Not applicable

Just in case anyone would have the same issue, I don't know about Maya 2019 but in Maya 2020 if you select only the nodes you want to duplicate in the node editor (I also had a bunch of math nodes to duplicate), you can select them and do the same manipulation, without having to duplicate the mesh they are connected to. First ensure that your node editor allows new nodes to be automatically add to your graph then Edit > Duplicate Special with "Duplicate input connections" and you will see your group of node appear with all the connections. 
Another tip, before doing so, pin all your nodes, then disable the option "pin all nodes by default" so your new nodes will be nicely placed, otherwise they may all be at the same place, making you lose a lot of time to replace everything clearly.
Hope this may help someone.