def METHOD_NAME(bodygroup: BodyPart):
    buffer.write(f"$bodygroup \"{bodygroup.name}\" {{\n")
    for model in bodygroup.models:
        if len(model.meshes) == 0:
            buffer.write("\tblank\n")
        else:
            model_name = Path(model.name).stem
            buffer.write(f"\tstudio \"{model_name}\"\n")
    buffer.write("}\n")