Skip to content

Saving scene in script #668

Answered by themasterlink
jeehart asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

You can just use bpy for this.

import bpy 

bpy.ops.wm.save_as_mainfile(filepath=filepath)

This will store the current scene in a blend file.

Best,
Max

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jeehart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Question, not yet a bug ;) first answer provided
2 participants