Python script to add armature to outfit(.obj)

We imported the avatar(.glb) and outfit(.obj) and invoked the armature

The following is the code

import bpy
import bpybb
import os

object_name = “outfit_meta_1_lowpoly_outfit_meta_1_lowpoly.002”

scene = bpy.context.scene

bpy.ops.import_scene.gltf(filepath=“D:\avatars\avatar\nakedstand.glb”, files=[{“name”:“nakedstand.glb”}], import_pack_images=True,import_shading=‘NORMALS’, loglevel=50)

bpy.ops.import_scene.obj(filepath=“D:\avatars\avatar\outfit.obj”)

obj = scene.objects.get (object_name)

arm=bpy.data.objects[‘Armature’]

We are missing the step to add .obj mesh to armature. pls suggest

FYI:

Thanks
vijay