Ok!!
Chad Vernon was so kind and pointed me in the direction of the following scripted plugin (cool!):
http://vimeo.com/13150202( which uses a ramp :) )
and luckily it comes with source! So if anybody runs into this, this is how it works:
thisNode = MakeChain.thisMObject(self)
suOverallScale = om.MScriptUtil()
overallScaleValue = suOverallScale.asFloatPtr()
overallScaleHandle = om.MRampAttribute(thisNode, self.overallScaleRamp)
overallScaleHandle.getValueAtPosition(spacing*i/curveLength, overallScaleValue)
overallScale = om.MScriptUtil().getFloat(overallScaleValue)
Yay!
--
Sebastian Schoellhammer
Sr. Technical Artist
Square Enix LTD
www.square-enix.com