result is gotten for each shapesPath, however for groups within expandedgroup i.e.import nuke
import re
shapesPath = nuke.getFilename("Choose Silhouette Shapes...", "*.nk", "", "", "", multiple = True)
for i in shapesPath:
currNode = nuke.nodePaste(i)
currNode.knob('selected').setValue(True)
each = nuke.expandSelectedGroup()
for nn in each:
if not (re.search("Output",nn.name()) or re.search("over",nn.name())):
if (nn.Class() == "Group"):
aa = nuke.toNode(nn.name())
aa.knob('selected').setValue(True)
eack = nuke.expandSelectedGroup()
for nn in each : , how may i possibly get to select a group, expand it, and subsequently copy nodes within that group.
Brgds,
Nish







