pymel.core.datatypes.getPlugValue

getPlugValue(plug)

given an MPlug, get its value as a pymel-style object