Sure will 
Thanks for the help guys.
Here's a quick overview of how I solved the problem:
// I run through the dagPath
if (dagPath.hasFn(MFn::kMesh)) // If we have a mesh
{
status = outputMatProps();
objectId++;
if (status != MS::kSuccess)
return MS::kFailure;
}
outputMatProps()
{
MStatus status;
MString command;
int result;
command = "getAttr ";
command += partNames[objectId]; // List of part names extracted from dagPath.fullPathName()
command +=