How to get the sectionview cut in Components?

Hi ,everyone!

               How to get the sectionview cut in Components? Does anyone know about it?

SolidworksApi macros