need a program to extract the dimensions of all the parts in an assembly through solid works api

need a program to extract  the dimensions of all the  parts in an assembly through solid works api
SolidworksApi macros