• Bugs
  • How can i import animation to other project by command line

Related Discussions
...

Finished a project animation (for example called Shake), other projects should also add the same animation,
But because of the large number of projects (there is a slight difference between each project, it cannot be completely covered and added),
So I want to simulate the process of manually adding animation through the command line (as shown below), and only add this animation in batches

Consult the official website document (http://de.esotericsoftware.com/spine-export#Command-line),
It was found that the most similar was the command line to import the bones of another project.

Spine -i /path/to/skeleton.json -o /path/to/project.spine -r skeletonName

But what I want to import is not bones, but animation options. What is the command for importing animation under Spine?

Hope to get a reply, thank you very much! !

Unfortunately Spine doesn't yet support importing an animation via the CLI. Here is the issue to track the enhancement:
Import animation from CLI · #379 · EsotericSoftware/spine-editor

It will be added in a future update, but note that many things can go wrong when importing an animation so even with the CLI import, you'll want to keep a close eye on any warnings during the import.

Nate a écrit

Unfortunately Spine doesn't yet support importing an animation via the CLI. Here is the issue to track the enhancement:
Import animation from CLI · #379 · EsotericSoftware/spine-editor

It will be added in a future update, but note that many things can go wrong when importing an animation so even with the CLI import, you'll want to keep a close eye on any warnings during the import.

Thank you for your reply. Is there any general planning time?

This should make it into 4.1, which will be a much smaller release than 4.0. There won't be a huge delay from 4.0 to 4.1 (once 4.0 is finished, the beta starts soon).

2 ans plus tard

+1 to adding CLI option to import just specific animation

Moreover, some kind of filtering / search / group by folders in this import dialogue would help. We have many animations on a single skeleton and are copying animations regularly (more animators working on the same skeletons) so any UX changes to this would greatly help.

3 mois plus tard

I strongly believe this feature is very useful and necessary.+1
When will this feature be released?

un an plus tard

Getting back to this, I had a discussion with my animator about our pipeline. From our perspective, the main problem is the number of animations in the import dialog. We would love to have the option for grouping by folders, as it is in the standard tree view.

Import animations through CLI would be cool, but honestly, that would mean writing some custom utility for me and I don't think it is worth it. The filter by folder would be good enough for us.

Do you consider some filtering in this import view?