How do I set a material group for a model from LUA (or data driven is fine too.)

The documentation suggests: CBodyComponent:SetMaterialGroup

However, there doesn't seem to be any way to get the body component from LUA? I'm using an npc_dota_creature and trying to change to the secondary material set.