import nuke from PySide import QtGui def FromTxtToNukeNode(): with open ("O:/_WORK/.../textfile.txt", "r") as myfile: data=myfile.read() #get the text in the .txt file as a string variable QtGui.QApplication.clipboard().setText(data) # set to clipboard nuke.nodePaste("%clipboard%") # paste into nuke DAG
Thanks, it is very useful for me, thank you..
ReplyDelete