2007/08/01

Maya API -- error-checking


MStatus stats;
if ( stats == MS::kSuccess )
MGlobal::displayInfo( MString("success"));
else
MGlobal::displayError( stats.errorString() );

No comments:

Post a Comment