[SOLVED] How to save a H.Pose preset with Pose controls included?
Edit: solution here:
https://www.daz3d.com/forums/discussion/comment/9325186/#Comment_9325186
Original message:
Hello,
I know it's possible because PAs are doing it, but when I'm using the default UI to save H.Pose preset, Pose controls are nowhere to be seen.
Maybe I'm doing it wrong, but my goal is to save a H.Pose for a pair of shoes I converted to Genesis 9 (the pose I'm saving is one on Genesis 9, build using poses controls on both feet), so what I'm doing currently is selecting Genesis 9 then asks Daz to save a Hierarchical Pose Preset but the saved pose doesn't work (I also tried to save the H.Pose while selecting the shoes, but it doesn't work either).
If I'm using Bake to Transform, saving a H.Pose while selecting Genesis 9 does result in what seems to be a working H.pose but I would prefer to save the H.pose with Pose controls active so if anyone knows how to do it, I'm all ears :)

Comments
Are the pose controls on the Genesis 9 or the shoes? If theya re custom proeprties, added by you, is their type set to modifier/pose (click gear icon on the slider and open Parameter Settings)?
They are on Genesis 9, by Daz I think (I'm using Left / Right Foot Heeled Shoe and Left / Right Toes Spread) and from what I can see, their type is 'Modifier/Pose'.
H.Pose Preset is not able to include Pose Control properties starting from the time when it was introduced in DS... There's no way to select any Pose Control properties in save options. I don't know how PAs do it.... by editing the DUF file ?
For your case, "what PAs usually do" is to save a Wearable Preset with selecting feet / toe poses as well as morphs (if there's any...) by using Pose / Shaping tabs in save options. You can choose pose control properties there as needed.
If you have shoes by Havanalibere, they have H.poses included. No idea how they were created though.
I already have a wearable preset to load the shoes, but I want to have a H.pose to fix easily feet poses after applying another pose (it's great to easily get the pose in smart content by selecting the shoes).
You're right. They cannot be selected but just saved... I'm checking ~~
Edit: I checked H.Pose preset from Havanalibere, it seems they just saved transforms from the figure and shoes. Any specific one in which there're Pose Control properties saved ?
I tested with a created Pose Control property on a pair of shoes, yes, it is saved.
I think, still, you have no way to select Pose controls when saving H.Pose Preset but just dial the Pose control values before saving H.Pose Preset. That should be the only way except for modifying the H.Pose preset file.
I'm using 'Wedge Sandals for Genesis 9, 8 and 8.1 Female'. In this first screenshot, I fitted them manually to Genesis 9 (so no pose is applied):
Then, I used the H.Pose and as you can see, Pose controls are now active:
Looking inside the pose file, I see this:
{
"url" : "Genesis9:#body_ctrl_rFootHeeledShoe?value/value",
"keys" : [ [ 0, 0.65 ] ]
},
Then, I tried to save the pose as a H.pose, selecting Genesis 9 and using the default option:
The created H.pose does nothing at all :(
Among the PAs from which I have shoes requiring a feet pose, Prefox also does have H.Poses which will make Pose Controls active after being applied: I checked with the 'Keiko High Heel Mules for Genesis 3, 8, and 8.1 Females', doing the same process: loading the shoes, loading Genesis 8, fitting the shoes to Genesis 8 then after I have applied the H.Pose, they are pose controls active on Genesis 8.
I followed your advice and edited the file directly.
The whole process I followed is:
1. Select both feet then ask Daz to select their children
2. Add Genesis 9 to the selected node
3. Create a H.Pose preset using the default UI and asking it to check only the Scene Selected Nodes
4. If you don't know how to un-archive .duf file, tell Daz to not compress it.
Let's call it 'h.pose.duf'
Keep it safe and sound, and then:
1. Select Genesis 9
2. Save a pose preset, first deselecting everything then re-select both feet.
3. If you don't know how to un-archive .duf file, tell Daz to not compress it.
Let's call it 'pose.duf'
They are two way to merge them.
First way:
1. Open 'pose.duf' in a text editor and select everything from the line with '"animations" : [' (which should be line 15) to the end of the file.
2. Copy it
3 Open 'h.pose.duf', and also select everything from the line with '"animations" : [' to the end of the file.
4. Paste what you copied from the pose file over it
5. Save the 'h.pose.duf'
Second way:
1. Open 'h.pose.duf' in a text editor and select the whole node block, which is the block starting with '"nodes" : [' and which will end just before the animation block start (in my case, it went from line 15 to line 180).
2. Copy it
3 Open 'pose.duf', add an empty line after scene
4. Paste what you copied from 'h.pose.duf' (make sure there is no empty line before and after the whole block in case it could cause an error).
5. Replace 'preset_pose' at line 5 by 'preset_hierarchical_pose' which mean line 5 will go from
"type" : "preset_pose",
to
"type" : "preset_hierarchical_pose",
5. Save the 'pose.duf'
Bonus tip: if your text editor is capable of highligthing syntax and folding nodes when told what kind of file you're using, tell it your .duf files are JSON file, it should activate all the bells and whistles your text editor is capable of when working on a known file format (of course, I only thought about that after I did it both way and it would have been faster if I have told Nova I was working on JSON file
).
To check that everything is working as intended, load the shoes, applied a pose which will change the at least one foot pose, then applied your newly created h.pose: if everything when as it should, both feet should now have their pose changed.
When I tested both modified files, they did what I wanted but I don't know if there is something else to check neither do I know if there is a good reason to prevent saving pose controls in a H.pose.
If I'm bored one day, I'm sure everything can be automated with a Bash script but as I'm not planning on selling shoes anytime soon, manual editing will have to do in the meantime
Ah, it didn't work ... because you left Include Root Pose option unchecked. Those Pose Control properties are on G9 which are "Root Pose" ~~
The only video on that I saw about H.poses said to not check that because it would save information about the position of the figure.
Checking it does save pose controls, but it'll save a lot of useless information about expressions and so on. And it does save the position of the figure, so using the h.pose saved this way will send the figure back to where it was when the h.pose was saved.
Then I don't know how they made it. Any specific tool ?
I don't know, maybe they have a script for Daz, or maybe they did it like I finally did it, manually.
You likely need only two files you can then modify as needed: one with only the FootHeeledShoe pose controls active, one with them active alongside the ones changing how spread toes are.
Thank you for your help, in the end, I have what I want
Ha, fairly enough ~ You're welcome !