TRYING TO DELETE FOLDER AND CONTENTS

I have a few questions maybe some fellows could help me with. I am very new to this macro stuff. I have been working on a macro to build cutting tools. I don't have a clue how to get it to suppress or delete something if a box is checked or lets say if there is a text field that says yes or no. I would like to be able to select the style of flutes in a field and have it delete the other sub folder. For instance, if I have a box that says flute style straight, I want it to delete the folder called spiral flute and all the data in it. at the same time delete the coolant data that is linked to that flute style. I think if I seen some code how to delete or suppress a folder I could take it on to the other challenges with my model template. I am attaching my current macro, the model and some screen shots for some clarity. Thanks in advance for any help!!!

if the product code is fpz i want it to leave the flutes on. if it is SRB I want it to surppress the whole flute folder.

If nib is checked I want it to un-suppress the "NIB feature"

If the flute type is straight delete spiral flute folder and spiral flute coolant folder

If the flute type is spiral delete the straight flute folder and the spiral flute coolant folder

SolidworksApi macros