Forum Replies Created
Viewing 1 post (of 1 total)
-
AuthorPosts
-
alessandro mattielliParticipant
I had to do something very similar to what you want to do. I had to import several mask from Silhouette and group each one of them…
So I looked a bit into python and wrote a very simple script that maybe will help you:
import nuke
shapesPath = nuke.getFilename(“Choose Silhouette Shapes…”, “*.nk”, “”, “”, “”, multiple = True)
for i in shapesPath:
print (i)
currNode = nuke.nodePaste(i)
currNode.knob(‘selected’).setValue(True)
nuke.expandSelectedGroup()All you have to do is run the script and select all the different shapes you want to import.
Hope it helps!
-
AuthorPosts
Viewing 1 post (of 1 total)
