pymel.core.uitypes.AETemplate

digraph inheritance876a6505e7 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "AETemplate" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.uitypes.AETemplate",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
}

class AETemplate(nodeName)

To use python attribute editor templates, first create a python package named ‘AETemplates’. To do this:

  1. create a directory ‘AETemplates’
  2. inside, create an empty file ‘__init__.py’
  3. ensure that the directory above ‘AETemplates’ is on the PYTHONPATH

Python AETemplate sub-classes will be found and paired with node types if they match one of the three following conventions:

  1. there is a sub-module of AETemplates which contains a class with the same name, both of which match
the format AE<nodeType>Template ( ex. AETemplates.AElambertTemplate.AElambertTemplate )
  1. the AETemplates module contains an AETemplate subclass whose name matches the format AE<nodeType>Template ( ex. AETemplates.AElambertTemplate )
  2. the AETemplates module contains an AETemplate subclass which has its _nodeName class attribute set to the name of a valid node type.
addComponents()
addControl(control, label=None, changeCommand=None, annotation=None, preventOverride=False, dynamic=False)
addExtraControls(label=None)
addSeparator()
beginLayout(name, collapse=True)
beginNoOptimize()
beginScrollLayout()
callCustom(newFunc, replaceFunc, *attrs)
classmethod controlLabel(nodeName, control)
classmethod controlValue(nodeName, control)
dimControl(nodeName, control, state)
endLayout()
endNoOptimize()
endScrollLayout()
interruptOptimize()
nodeName
static nodeType()
classmethod reload()
suppress(control)

Previous topic

pymel.core.uitypes.MenuItem

Next topic

pymel.core.uitypes.AnimCurveEditor

Core

Core Modules

Other Modules

This Page