Show in Bill of Materials variable

After uploading and checking-in over one hundred specification documents, it occurred to me that I failed to de-select the "Show in Bill of Materials" checkbox during check-in.  I was wondering if a macro, script, or something could be written to automatically change this option on a selection of files.  Obviously, if it CAN be done, I would need to know what the variable is that controls this.

Could someone provide the variable, or better yet, a routine to care of this for me ?

Joe

BTW - I'm running Enterprise PDM 2012

SolidworksSolidworks Pdm enterprise Pdm