hi all,
I use Maya2013 and later version, and I'm trying add my own attributes to the following node types:
- maya transform node,
- maya mesh shape node,
- maya light shape node,
- maya camera shape node,
- maya shader node(e.g. bump2d, place2dTexture, and etc),
- maya shading group node
- my custom node,
My question are:
1. how to implement AETemplate of my custom node in Python? and which is the best(or simplest)?
I saw maya devkit provides these files:
$Maya2013\devkit\other\pymel\examples\AETemplates.py and $Maya2013\devkit\other\pymel\examples\customClasses.py
But I'm not sure if they are what exactly I need.
- Mentalray add its custom attributes in the "mentalray" section in each AETemplate.
how to add my custom attributes in my custom section(e.g. "MyRenderer") in each AETemplateof Maya node(e.g. transform node, mesh shape node, maya shader node)? and which is the best(or simplest)?
Regards