## 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
Tested & Proven
Advanced Creature Rigs
A place for advanced creature rigging tools and rigs.
These rigs are tested & Proven over a period of Decade