Viewport 2.0 Plugin MpxDrawOverride

Making a plugin to draw a value in the viewport(2.0) using api 2.0 which is driven by a plug on the node. Question is how do I get the plugins attribute as an MPlug on MUserdata before it goes into MPxDrawoverride?