Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
$\begingroup$If you are referring to a particular existing script, you should post a link where one can examine it. Or you want to create a custum python script?$\endgroup$
$\begingroup$I am just trying a simple python script in which I have to import some images, and FBX files. I was able to import images, however, no clue how to do the same for FBX file. I have recently started exploring blender python APIs, thus my knowledge is quite limited :)$\endgroup$
$\begingroup$Welcome blackbug :) You have to call the operator: bpy.ops.import_scene.fbx() Do you want to import single or multiple files? How many objects contains your fbx? In order to get a solid answer, please add more context to the question. Anyway, enjoy blender.se!$\endgroup$
$\begingroup$Also, when I tried to import images to blender,I was able to do so, however, those images are just grey planes, I can't really see the image itself. I used " bpy.ops.import_image.to_plane" method to do that. Any suggestions? Thanks again)$\endgroup$