How to add custom properties to assemblies from a property tab builder api?

All,

I have an assembly with some sub assemblies within its tree structure.  I want to add custom properties to each of those sub assemblies using property tab builder.  How can I do that? 

SolidworksApi macros