1
$\begingroup$

There is an excellent example here: https://blender.stackexchange.com/a/63000/37272 which saves all objects as .fbx files, but how do I get the script to save to .blend files instead?

EDIT: This line exports the selected objects to fbx: bpy.ops.export_scene.fbx(filepath=exportName, use_selection=True)

How does the command look for saving the selected objects to a .blend file?

$\endgroup$
1
$\begingroup$

Take a look at my add-on Splode. It can export individiual objects into individual blend files, and then link those blend files into the current file, replacing the existing objects. You should end up with the same scene, except that the objects are now linked from their respective blend file.

| improve this answer | |
$\endgroup$
  • 1
    $\begingroup$ Thank you. Will check it out when I'm at computer again. I'm asking because I couldn't find a .blend way to do as it is done with the "export" functions: bpy.ops.export_scene.fbx(filepath=exportName, use_selection=True) $\endgroup$ – tintwotin Oct 13 '18 at 12:24
  • 2
    $\begingroup$ I would love to try your add-on, however, I have no clue how to do it. I've installed "splode". It says: "location": "Je moeder" > "location": "Your mother"!? :-) In the userstories.md I find the line: "Artist presses "Splode to SVN" button." - but where is it? (I can tell you, that it isn't on "my mother"... ;-) ) $\endgroup$ – tintwotin Oct 13 '18 at 17:34
  • $\begingroup$ There are buttons in the menu bar of the 3D View. As you've seen, it's all rather unpolished and experimental. $\endgroup$ – dr. Sybren Oct 14 '18 at 22:21

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.