How to get weldment profile thru. API

For BOM classification convenience, I need to get everyweldments parts' library file profile, like ANSI INCH AICHANNEL(STANDARD)
ANSI INCH AI I BEAM
ANSI INCH AI PIPE
ANSI INCH AI CS CHANNEL (SQUARED ENDS)

Who has its API example and suggestions, please leave here withelaborations.

Thanks first!SolidworksApi macros