Sketch Constraints and Bend Table Assignment with API

Hi:

Currently, we are going into numerous parts and applying a bendtable, unfolding the part and applying a sketch for constraints.This allows is to assign to a length property, the width times thelength of the part. After completion, we exit the sketch, refoldthe part and hide the sketch.

Is there a way to do this programatically, concerning getting thex/y constraints of the un folded sheet metal part? It looks asthough assigning the values to the property is the easy part.

Thanks in advance for the help!
SolidworksApi macros