Custom properties in weldments

Which API command do I use to get the custom properties and quantities of individual components in  a weldment?

SolidworksApi macros