Use callbacks in Attribute Editor templates

 
 
 

You can add callbacks to your custom Attribute Editor templates to do the following:

Callbacks can be declared at the attribute level or the view level of an Attribute Editor template. Add callbacks to your template using the <description language="cb"> XML tag. See Parts of an Attribute Editor template.

Example of a callback named AEtankControlAnim declared at the attribute level:

<attribute name="details "type ="maya.bool">  
<description language="cb">AEtankControlAnim</description>  
<label>Details</label>  
</attribute>

Example of a callback named AEtankControlAnim declared at the view level:

<property name="rtCannonPan">
 <description language="cb">AEtankControlAnim</description>
</property>