How to use Revit surface, find surface equation?


#1

How to use the Revit surface automatically find the surface equation?(Known XYZ points)
Similar to this equation


#2

See if these links can help:
http://dynamobim.org/math-transit/