PDA

View Full Version : that funky Maya API


playmesumch00ns
07-08-2002, 09:31 PM
Does anyobody have any experience of programming for the Maya API?
I'm just getting into it and the documentation is pretty sparse.
Trouble is I need to integrate MFC using a method like the one described here (http://www.secretlevel.com/main.php?page_type=item_pages&page=current_downloads)

Essentially what I want is to pop up a new window and draw one of the viewports (nearly always the persp) into it when the user clicks a button (could be a script) before I draw my own funky stuff on top.

Anyone have any ideas?

MDC
07-08-2002, 11:04 PM
I have just a cursory interest in programming so maybe I'm off base, but I don't see any reason why you would *have* to use MFC to do anything with the SDK, and I can think of a really good reason not to use MFC; portability. Maybe explain exactly what you want to do and someone can help.

stunndman
07-09-2002, 03:53 AM
did you check out the devkit plugins - there's a lot of source code hanging around

beaker
07-09-2002, 10:00 AM
Check out Brian Ewert's page:
http://www.ewertb.com/maya/index.html
lots of nice mel and api reference.

artifish
07-10-2002, 01:58 PM
you can pop up the window and have a perspective view using mel (-> see the modelEditor command)
check with the docs on "manipulators" to see how to draw stuff in your 3d scene (you can even make the user interact with it), there are example files also
i wouldn't suggest using mfc either, what do you do if you want it to work on maya for linux, too?

be a bit more specific on exactly what you want to do, maybe we can give more help
a good ressource is also the highend3d mailing list "maya-dev"!

cheers, carsten

CGTalk Moderation
01-13-2006, 10:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.