## popup message -A disappearing message def popupMessage(function_name): """ Displays an in-view message indicating that a function has been copied to the clipboard. :param function_name: #The name of the function that has been copied. :return: """ mc.inViewMessage(amg="Copied!!\nFunction name '{0}' has been copied to the clipboard.".format(function_name), pos='midCenter', fade=True) # Test function is provided to test main function popupMessage def test_popupMessage(): popupMessage(function_name='exampleFunction') # Since mc.inViewMessage affects the UI, manual verification is required. print("popupMessage executed successfully.") test_popupMessage()
top of page
Writer's pictureSubbu Addanki

Nuke Python Scripting - Few Code Snippets

A few artists are asking for whether I had something to share on Nuke Scripting, then I found few lines code from my old notebooks. Here it goes. Will share the same content in my upcoming book - "PYTHON SCRIPTING HANDBOOK - FOR VFX ARTISTS"


I have written few nuke python code snippets in the year 2009. Fortunately, everything is working fine with the latest Nuke version also.. If any issue, please let me know or post it here, if any queries.


15 views0 comments

Recent Posts

See All

Comments


bottom of page