33 const std::vector<Plug>& plugs,
34 const std::wstring& filepath,
35 const std::string_view& comments=
"",
36 const std::string_view&
tags=
"" 44 const std::vector<Plug>& plugs,
45 const std::wstring& filepath,
46 bool single_layer=
false,
47 const std::function<
bool(
float,
const char*)>& progress=
nullptr,
48 const std::string_view& comments=
"",
49 const std::string_view&
tags=
"",
50 float first_frame_clip=0,
51 float last_frame_clip=0
57 const std::wstring& filepath
63 const std::wstring& filename
74 const std::wstring& filename
87 const std::vector<Plug>& plugs,
88 const std::wstring& filename,
89 const std::vector<std::string>& layers_to_import
95 const std::wstring& filepath
100 const std::vector<Node>& nodes,
101 bool serialize_external_input_connections =
false 108 Node* parent=
nullptr,
109 const std::string& valid_types=
"" 115 const std::wstring& file,
130 const std::wstring& file
MAQUINA_EXPORT void import_settings(const std::wstring &filepath)
Import workspace settings from a file.
TagsIteration tags(const std::string_view &tags_list)
Return a tag iteration from a string with comma, semi-column or space separated tokens.
MAQUINA_EXPORT void apply_pose(const Dict &pose, float frame)
Apply a pose.
MAQUINA_EXPORT std::string serialize_pose(const Dict &pose)
Serialize the pose in a string.
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
MAQUINA_EXPORT Dict load_pose(const std::wstring &filename)
Import the plugs values from a file.
#define MAQUINA_EXPORT
Definition: Export.h:31
MAQUINA_EXPORT Dict document_info(const std::wstring &file)
MAQUINA_EXPORT void export_plug_animation(const std::vector< Plug > &plugs, const std::wstring &filepath, bool single_layer=false, const std::function< bool(float, const char *)> &progress=nullptr, const std::string_view &comments="", const std::string_view &tags="", float first_frame_clip=0, float last_frame_clip=0)
Save the layer setup and plugs animation in a file.
MAQUINA_EXPORT bool import_plug_animation(const std::vector< Plug > &plugs, const std::wstring &filename, const std::vector< std::string > &layers_to_import)
Import an animation from a file.
MAQUINA_EXPORT Dict deserialize_pose(std::string buffer)
Deserialize the pose from a string.
MAQUINA_EXPORT std::vector< Node > deserialize_nodes(std::string buffer, Node *parent=nullptr, const std::string &valid_types="")
Deserialize the nodes from a string.
MAQUINA_EXPORT std::string serialize_nodes(const std::vector< Node > &nodes, bool serialize_external_input_connections=false)
Serialize the nodes in a string.
MAQUINA_EXPORT void export_settings(const std::wstring &filepath)
Save workspace settings to a file.
MAQUINA_EXPORT Dict load_animation_pose(const std::wstring &filename)
Import the animation pose from a file, in this case the value of the pose is not relevant.
MAQUINA_EXPORT void export_plug_values(const std::vector< Plug > &plugs, const std::wstring &filepath, const std::string_view &comments="", const std::string_view &tags="")
Save the plugs values in a file.
MAQUINA_EXPORT Value read_value(const std::wstring &file, const Dict &options)
Load an object value from a file.