DXSDK SUMMER UPDATE EXTRAS
you need a little download called DXSDK SUMMER UPDATE EXTRAS
Microsoft SDK Extras
It is a self-extracting zip exe. Unzip it into a folder then you will find a maya folder for many different versions i.e.
\DXSDK EXTRAS\Direct3D\Plug-Ins\Maya version 4.0 and 5.0
I use Max 6 myself ... what I had to do was load the C++ source code then include the path to the MAX SDK and compile the project then copy the resulting plug-in file to the plug-in directory in MAX. I believe the process is the same for Maya.
QUOTE ....
======================
MAYA X-FILE EXPORTER
======================
Installation
------------
1] Make sure that Maya is not running
2] Copy "xExport.mll" to "<mayapathname>\bin\plug-ins"
3] Copy "xfileTranslatorOpts.mel" to "<mayapathname>\scripts\others"
4] Copy "bicubicBezierPatches.mel" to "<mayapathname>\scripts\others"
5] Run Maya
6] Select "Window->General Editors->Plug-in Manager" from the main menu bar
7] Turn on the "auto load" checkbox next to "xExport.mll"
8] Turn on the "loaded" checkbox next to "xExport.mll"
Usage
-----
1] Select "File->Export All" from the main menu bar
2] Select "XFile (*.*)" from the "File of type" drop-down menu
3] Select a file name from the browse window
4] Click the "Export" button
-OR-
Click the "Options..." button for further options (recommended)