Import .mhx and set Filepath and operators

Hello,

I have a rather simple question, but I am not sure what I might be doing wrong.

I would like to import 1.06 Makehuman (1.4) to Blender 2.57 in a script. I have been looking in Blender’s API and MH’s forum, but I am not sure where is the answer.
I have set the operators like this

import os
import glob

bpy.ops.import_scene.makehuman_mhx(filepath  =  path + '/giorgia-25.mhx'
									scale = 1,
									bver  = Graphicall,
									enforce = True,
									mesh = True,
									proxy = True,
									armature = True,
									replace = True,
									cage = False,
									clothes = True,
									stretch = False,
									face = True,
									shape = True,
									symm = False,
									diamond = False,   									                                               
                                                                        bend = False)

where path is set correctly in the folder
but there seems to be a problem in the operator filename. Perhaps the name of it…I don’t really know.
During the .obj import that I have already done in blender, everything worked normally.

Could you help me?
Mitsaki


Problem solved

import bpy

path = "blabla"

bpy.ops.import_scene.makehuman_mhx(filepath = path + "/giorgia-25.mhx",
                               scale = 1,
                               bver  = "Graphicall",
                               enforce = True,
                               mesh= True,
                               proxy = True,
                               armature = True,
                               replace = True,
                               cage = False,
                               clothes = True,
                               face = True,
                               shape = True,
                               symm = False,
                               diamond = False,  
                               bend = False)