I have been banging my head on this for a while now: I am working on a custom locator node with maya python api 2.0 and am stuck with creating a AETemplate for it.
Following Chad Vernons example I was able to create a AETemplate for a ramp attribute on a dependency node (MPxNode), both in api 1.0 and api 2.0 but not for a MPxLocatorNode. Shouldn`t that work the same way? When I create my plugin, I get a shape and transform node (as expected for locators) the shape node is called xformOnCurveLocatorShape1 and holds my custom node attributes including the ramp attr and the transform node is called xformOnCurveLocator1 The nodeType is: xformOnCurveLocator Shouldn`t the global proc for the AETemplate then be called global proc AExformOnCurveLocatorTemplate( string $nodeName ) For some reason that does not work and the proc does not run. I tried a lot of different things and name variations, in both python api 1.0 and python api 2.0 and nothing seems to work. Any ideas what I am doing wrong? thanks Nico. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/41600704-91c7-41ca-b6ba-47c55cfdfb14%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.