This Revit API macro from Boost Your BIM shows how instance parameters of an adaptive component can be automatically set with the X Y Z coordinates of the component's placement points.
For the source code of this macro and other great ways to make Revit better, visit BoostYourBIM.wordpress.com