How to use the Table Driven Patterns with API?

the X-Y coordinates of a feature pattern, and apply them to a new part

Help me, use API method, run table driven pattern function.

Thanks.

SolidworksApi macros