Using bodygroups in a DModelPanel

I need to set the bodygroup for a model in a DModelPanel but I have no idea how it would be possible since you have to use Ent:Fire(“setbodygroup”, 5, 0) on a normal entity to change the bodygroup.

DModelPanel:GetEntity() and **[Entity.SetBodygroup

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Entity.SetBodygroup)**

Thanks, it worked great.