pymel.core.windows.refreshEditorTemplates

refreshEditorTemplates(*args, **kwargs)

This command refreshes all cached attribute editor templates, including those copied from the standard AE. These are the templates constructed internally on a per node type basis. This is useful if attribute elements have changed and the templates need to be re-evaluated accordingly.

Derived from mel command maya.cmds.refreshEditorTemplates

Example:

import pymel.core as pm

# The following command will cause the currently
# selected AE tab and all copied AE tab windows
# to be refreshed.
#
pm.refreshEditorTemplates
# Result: <function refreshEditorTemplates at 0x149141320> #