Hole Wizard API Newbie

I'm finding it difficult to find info on accessing thecosmetic thread options through VB. These are the options thatallow you to choose between showing just the drill tap, cosmeticthread or remove thread.
What we would like to do is traverse a model finding all thecosmetic threads and being able to change them from showingcosmetic threads to remove thread and vice versa, through a macro.
I've found the example on how to traverse and get all cosmeticthreads but cannot find how to set the above option. It also lookslike this example wont work if 'remove thread' is already chosen.
Any help or guidance would be much appreciated.SolidworksApi macros