Maya web browser plugin - javascript commands not working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi folks,
I've been investigating the Maya Web Browser plugin, which seems like a very cool idea, being able to use javascript to run maya through the command port.
I've been able to get it working with specific urls (for example, clicking on a link to mel://polySphere/ creates a poly sphere within maya).
However, the documentation also states that you can use Javascript to execute mel commands, and even provides an html page with examples.
This would be great.. except the html page in question doesn't work for me. In addition, I've tried following the documentation exactly as stated in the Embedded to External Web Browser Transition Tips document (located here: /Applications/Autodesk/maya2015/ExternalWebBrowser/Examples/EmbeddedToExternalGuide.pdf) and it still doesn't work.
In fact, if I check my javascript console, I'm seeing this error:
TypeError: MWTObject.execute is not a function
Has anyone been able to get this to work? It's got some great potential, especially when integrating it with some cool new web technologies like angular.js and more..
thanks!
-jason