In the following two lines of code:

bpy.ops.import_scene.fbx( filepath = "C:/Users/Michael/Documents/plants_from_internet/Plant_one/Plant_Model/Plant_FBX.fbx" )

the first imports a scene, the second "imports" a mesh to a specific location. What I want to do is import the scene as an object (can that even be done?) and place it in my scene at locations and orientations of my choosing, with python. The benefit of of working with the fbx (or equivalent files) is that they can be files produced by others that come with texturing, etc. From my research so far, I'm afraid that the solution to this is not simple.

  • 2
    $\begingroup$ After the import (well for most cases) The newly imported objects have context (context.selected_objects). Can move all, parent to empty move empty or add to a collection and add instance of to scene. $\endgroup$ – batFINGER Aug 13 at 8:19
  • $\begingroup$ @batFINGER thanks for the tip! will check it out! $\endgroup$ – juggler Aug 13 at 22:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.