Script to export parameters

Is there a script that will take a figure's parameters and dump them to a file? 

Comments

  • Richard HaseltineRichard Haseltine Posts: 111,984

    Which ones do you want? Just the tansforms is fairly trivial, walk the hierarchy by starting at the figue node and checking through its chidren for bones, then checking ach of their children for bones, etc. For each bone node use getXRotControl() etc. to get the proeprties, and list their values. If you want all properties, use https://docs.daz3d.com/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/properties/node_properties/start to show how to get a node's proerpties.

  • jmucchiellojmucchiello Posts: 2,609
    edited 12:20AM

    No, every morph parameter. Fred Body = 23%, John Body = 37%, Base Masculine Body = 33%, Philum Size =...

    I like to document the construction of my figures externally from Daz in case I ever need to reconstruct one from scratch. Transforms/Poses are the least interesting parameters.

    Post edited by jmucchiello at
  • Richard HaseltineRichard Haseltine Posts: 111,984

    The sample script should work for getting the list, iterating over each bone, then you just need to spit out the list (of course most morphs are on the first, figure, node anyway).

  • PraxisPraxis Posts: 293
    edited 2:58AM

    jmucchiello said:

    No, every morph parameter. Fred Body = 23%, John Body = 37%, Base Masculine Body = 33%, Philum Size =...

    I like to document the construction of my figures externally from Daz in case I ever need to reconstruct one from scratch. Transforms/Poses are the least interesting parameters.

    The "Utilities" tab provided by this ancient script has a "List Non-Zero Morphs" option that reports each Morph used, its setting value, and its Controllers if it is affected by ERC:  https://www.daz3d.com/forums/discussion/87636/a-script-to-control-a-selected-property-with-large-font-size-and-preview-buttons

    This script is .dsa source code - you can modify it to suit yourself.

    I've just tested it in DS v4.24.0.3: It works fine.

    It does not run in DS v6.

     

    Post edited by Praxis at
  • jmucchiellojmucchiello Posts: 2,609

    I will check that out when I'm awake. This the purpose of posting the "out there" idea. Sometimes there are folks walking ahead of you when you're "out there".

  • crosswindcrosswind Posts: 10,356
    edited 6:21AM

    You can try the attached script if you're interested ~~
    - As default, it exports non-zero shaping properties to csv or txt format file as per the selected figure.
    - Pose Controls and Hidden properties are set as options... in case you want to export them as well...
    - The script works in both DS 4.24 / DS 6.26

    Edit: Leave Pose Controls and Hidden properties unchecked, it will only export non-zero Modifier/Shape properties.

    zip
    zip
    Figure Parameters Exporter_v1.0.zip
    5K
    SNAG-2026-10-26 0029.png
    562 x 372 - 24K
    Post edited by crosswind at
Sign In or Register to comment.