{"action":"created","issue":{"url":"https://api.github.com/repos/LumaPictures/pymel/issues/162","labels_url":"https://api.github.com/repos/LumaPictures/pymel/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/LumaPictures/pymel/issues/162/comments","events_url":"https://api.github.com/repos/LumaPictures/pymel/issues/162/events","html_url":"https://github.com/LumaPictures/pymel/issues/162","id":105487186,"number":162,"title":"python ae templates","user":{"login":"elrond79","id":71800,"avatar_url":"https://avatars.githubusercontent.com/u/71800?v=3","gravatar_id":"","url":"https://api.github.com/users/elrond79","html_url":"https://github.com/elrond79","followers_url":"https://api.github.com/users/elrond79/followers","following_url":"https://api.github.com/users/elrond79/following{/other_user}","gists_url":"https://api.github.com/users/elrond79/gists{/gist_id}","starred_url":"https://api.github.com/users/elrond79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrond79/subscriptions","organizations_url":"https://api.github.com/users/elrond79/orgs","repos_url":"https://api.github.com/users/elrond79/repos","events_url":"https://api.github.com/users/elrond79/events{/privacy}","received_events_url":"https://api.github.com/users/elrond79/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LumaPictures/pymel/labels/enhancement","name":"enhancement","color":"FFFFFF"},{"url":"https://api.github.com/repos/LumaPictures/pymel/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T23:16:19Z","updated_at":"2015-09-08T23:16:20Z","closed_at":null,"body":"_From [chad...@gmail.com](https://code.google.com/u/101505156600271307269/) on November 25, 2009 13:33:13_\n\nautodesk seems unresponsive on this incredibly simple idea.  i think we\r\ncould make a very seamless hack to make this work.\r\n\r\npython AE templates will be contained within a package called aeTemplates,\r\nwith submodules named after node types.  for example, aeTemplates.lambert\r\nwould be the template module for a lambert node.\r\n\r\nto make this work, we need to create a mel AETemplate that calls the\r\npython, but we want to make this part as transparent as possible. \r\n\r\n1. create a directory for dumping template mel files  pymel/tools/AETemplates\r\n2. when pymel is imported, add this directory to MAYA_SCRIPT_PATH.\r\n3. loop through all template modules in aeTemplate python package and\r\ngenerate a mel wrapper with proper naming - AEnodeTemplate.mel-- that\r\nimports the python module.\r\n\r\ndisadvantage: only works if pymel has been imported, probably has to be\r\nimported in userSetup.py\n\n_Original issue: http://code.google.com/p/pymel/issues/detail?id=127_"},"comment":{"url":"https://api.github.com/repos/LumaPictures/pymel/issues/comments/138728762","html_url":"https://github.com/LumaPictures/pymel/issues/162#issuecomment-138728762","issue_url":"https://api.github.com/repos/LumaPictures/pymel/issues/162","id":138728762,"user":{"login":"elrond79","id":71800,"avatar_url":"https://avatars.githubusercontent.com/u/71800?v=3","gravatar_id":"","url":"https://api.github.com/users/elrond79","html_url":"https://github.com/elrond79","followers_url":"https://api.github.com/users/elrond79/followers","following_url":"https://api.github.com/users/elrond79/following{/other_user}","gists_url":"https://api.github.com/users/elrond79/gists{/gist_id}","starred_url":"https://api.github.com/users/elrond79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrond79/subscriptions","organizations_url":"https://api.github.com/users/elrond79/orgs","repos_url":"https://api.github.com/users/elrond79/repos","events_url":"https://api.github.com/users/elrond79/events{/privacy}","received_events_url":"https://api.github.com/users/elrond79/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T23:16:20Z","updated_at":"2015-09-08T23:16:20Z","body":"_From [chad...@gmail.com](https://code.google.com/u/101505156600271307269/) on December 15, 2009 20:28:00_\n\n**Status:** Fixed  \n"}}