while( !feof( mayaFile ) ){ getline( mayaFile, myLine ); ParseLine( myLine );}
because it''s SUICIDE! There have got to be hundreds of MEL commands and most don''t even turn up except for once in a blue moon. Therefore, if you read the examples provided with Maya, they''ll demonstrate how to use the Maya Developer API to retrieve useful information (vertices, texture coords, etc.) from Maya without having to translate the file format yourself ( e.g. Maya_ReadFile( myFile ); Maya_GetModel( "player01" ); )
Chris Pergrossi
My Realm | "Good Morning, Dave"