Jump to content
3DCoat Forums

[Solved] Python: save command


thinkinmonkey
 Share

Go to solution Solved by Andrew Shpagin,

Recommended Posts

  • Advanced Member

Hello,

is there a "save current scene" command in python?

I can't find any information in the documentation, only save dialog commands.

Thanks in advance.

Link to comment
Share on other sites

  • 4 weeks later...

Try this

-----------------

import coat

# Save the current scene
coat.Scene.save()
Link to comment
Share on other sites

  • Advanced Member
23 hours ago, Carlosan said:

Try this

-----------------

import coat

# Save the current scene
coat.Scene.save()

By the way, at the moment I'm using the following suggestion from an user in 3DC Discord server:

coat.ui.cmd("$SAVE_FILEFAST");

 

  • Like 1
Link to comment
Share on other sites

  • Solution

Usually I don't include commands accessible directly from the UI, so this is correct:
 

coat.ui.cmd("$SAVE_FILEFAST");
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...