Save the project
project_saveWrite an open StykAnimate or Pivot project to a file in styk, stkz, stykmov, piv, or stk format. Save beside the source file or to a chosen path; failures leave the original intact.
Instructions
Write the open project to a file. Use "styk" for a StykAnimate project, "stkz" for a single figure, "stykmov" for a movieclip, and "piv" or "stk" for Pivot files (these need the Python codec). A figure file holds one figure: name it with "figureTypeId" or "figureUid", or leave both out to take the first figure in the project. The file is written in full before it replaces the destination, so a failure leaves the previous file intact. Give a path to choose where it goes, or leave it out to save beside the file it was opened from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Where to write the file. Defaults to the path it was opened from. | |
| format | No | The file format. Defaults to the format it was opened from, or styk. | |
| project | No | The id of an open project, from project_open. Defaults to the project used most recently. | |
| figureUid | No | The figure instance to export as stkz. | |
| figureTypeId | No | The figure definition to export as stkz or stk. |