Hi @hinobayashi
A former Autodesk employee @Michael_Todd gave a solid breakdown on this in this thread!
From that thread:
Whilst you can right click and key frame length values on the groom splines Length setting, it won't work as expected as the length value is stored as a ptex map and you can't export per frame ptex maps.
The best way to animate the length value is to animate the Length Parameter in the primitives section. You can right click over the length name:

and link the parameter to a Maya attribute, in this case a float value.
This adds a Patch attribute to the geo that xgen is bound to:
$length0= patchAttr("xgen_LengthAnim_length_length0");#0.0,1.0
$length0
This attribute can be key framed by right clicking over the parameter:

With this expression:
$a=map('${DESC}/groom/length/');
$length0= patchAttr("xgen_LengthAnim_length_length0");#0.0,1.0
$length0*$a
You can then use the key framed values as a multiplier on the groom splines control map for length. The groom splines length will not cahnge, but the renderable XGen splines length values will alter according to the set values


The Patch attribute on the geo can also be linked to other Maya node outputs, such as locators scale, so you could drive the length value with a locator in the scene if you wanted:



Cheers
If one or more of these posts helped answer your question, please click Accept as Solution on the posts that helped you so others in the community can find them easily.
Kudos are greatly appreciated. Everyone likes a thumbs up!