Hi all,

Seems like most nodes in Nuke are selected on creation with the exception
of StickyNote. Anyone know how to force selected=True on creation? I've
tried the following without success:

def leaveStickySelected():
    # This doesn't work.
    nuke.thisNode().setSelected(True)

nuke.addOnUserCreate(leaveStickySelected, nodeClass='StickyNote')

# This doesn't work either.
nuke.knobDefault('StickyNote.selected', 'True')

Thanks,
Ean
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to