API: SW Drawings - add text and control a box size from an external file

hi there

i want to enter data into a spreadsheet (like a design table) - then it updates the drawings as follows

1. customer name (adds the customers name to the drawing) and address and some other details

2. length and width of 2 rectangles existing in the drawing (change the dimensions of the rectangle existing in the drawing)

is it possible to do this with an API?

SolidworksApi macros