How to set configuration of an existing BOM

Does anybody have any experience with setting the configuration called out on an existing BOM on a drawing?  Thanks!

SolidworksApi macros