I have a blender script that takes each root-level object, duplicates its hierarchy, moves the duplicate to the origin, exports the duplicate as an fbx, and then deletes the duplicate.

I'd like to convert this script to export .blend instead of .fbx. Unfortunately, I can't find a way to save selected objects as their own .blend file.

Is there any way to do this, or do I need to make multiple copies of the scene and just delete all of the objects I don't want in each .blend file? If so, is there some best practice so that the artist thinks they're working non-destructively?

  • 1
    $\begingroup$ There's an addon that does this wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/…. Another way(which is the way I've done it) is to have a empty .blend that you use to duplicate then add libraries to. $\endgroup$ – cmomoney Jan 10 '17 at 21:51
  • $\begingroup$ Thanks @cmomoney. This plugin does use the "delete everything else" method, but it hides it with the undo stack. That may be the direction I need to go. $\endgroup$ – sbsmith Jan 11 '17 at 3:27

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.