SkinLayerStudio API (Beta) / API Reference / API

new()

Download Markdown

Starts an empty project. Same as File > New.

If the scene has unsaved work, the call is refused unless discard=True. No save prompt appears.

Signature

api.new(discard=False) -> result
Field Meaning
ok True on success.
error Failure code. Empty on success. The path is not included.
dirty There is still work to save.

Example

`python result = api.new(discard=True) print(result.ok, result.error)

💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support