Macro to loop through assembly parts and change a custom property

I'm trying to figure out how to loop through an assembly's parts (including subassemblies and their components) and check if one custom property equals a certain value - if it does, I want to delete another property. Is there something existing that I could use as a starting point? I saw some old links from Deepak but the links are broken due to the new forum. Thanks.