Macro to add Custom Properties

Hi, I would like to write a macro that would add the property "Espessura" to all the parts in the assembly i run it. The property "Espessura" would be the value of the Equation "Espessura" which solidworks provides by default

SolidworksApi macros