how to use purge unused features in api

Need API for "Purge unused features" for a assembly as well as part.

SolidworksApi macros