Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

New to MEL trying to write export plugin

New to MEL trying to write export plugin

Anonymous
Not applicable
277 Views
2 Replies
Message 1 of 3

New to MEL trying to write export plugin

Anonymous
Not applicable
I'm writing an export plugin to write mesh data to a file and just need a push in the right direction.

I'm finding MEL easy to use, I'm just not sure what call to make that will allow me to query all the different polygon (mesh) objects so that I might get the vert, normal, uv and material data from each object.

I think I read somewhere that you get to this stuff via nodes? Any help would be appreciated.
0 Likes
278 Views
2 Replies
Replies (2)
Message 2 of 3

haggi
Enthusiast
Enthusiast
Using mel is not the best approach. You are much more flexible and efficient using python. And to write an exporter, you can access mayas internal data via API calls.

In the maya devkit directory you can find an python exporter example.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks, I'll do that. Wasn't sure which way to go, MEL or Python.
0 Likes