Save Pose Preset script Question
DraagonStorm
Posts: 748
The documentation at Save Pose Preset shows setting up for nodes (xrotation, yrotation, zrotation), but what about Pose Controls? These values are not saved using this sample.
Comments
Strangely I was *just* playing with this.
The DzFileIoSettings ends up wanting a list of the names of all Nodes and Properties underneath the node getting saved.
What I did was replace the lines that create the "hard-coded" arrays of the nodes/properties to iterate all child nodes and store the node and property names.
Basically:
Then, alter the code that is setting the values in the settings file to refer the node names and properties just staged:
Hopefully this should put you on the right track. I'd appreciate you letting me know if you see any mistakes here.
(I just wrote a script to save pose presets for every object in the scene.)