Make Non Zero Float Node Properties Considered As in-Use

mCasualmCasual Posts: 4,607
edited July 2022 in Freebies

Sometimes i select Aiko's head after 'shaping' it

i do "Memorize-selected-item" then "clear-animation of selected item"

and this makes all the current properties values their default value

so even if this value is keyframed at that value at frame zero ...

when you go in the parameters tab,

all properties are considered not-currently-in-use

this script keyframes all parameters that dont have the value 0

only floating-number parameters like the Blink property for example are touched

and it's a very light touch, the "default" value is multiplied by 0.999

this is enough to make Daz Studio consider the properties as Currently in use

 

==============================================================

var node = Scene.getPrimarySelection();

if( node ) {

var n = node.getNumProperties();

for( var i = 0; i < n; i++ )

{

var prop = node.getProperty( i );

var val = prop.getValue( 0 );

if( prop.inherits( "DzFloatProperty" ) && ( val > 0.0001 ) )

{

prop.setValue( 0, val*.999 );

}

}

}

dsa
dsa
mcjMakeNonZeroFloatPropertiesConsideredAsInUse.dsa
347B
waiii.jpg
1024 x 640 - 121K
Post edited by mCasual on

Comments

  • Silver DolphinSilver Dolphin Posts: 1,607

    Nice Thank you

  • mCasualmCasual Posts: 4,607
    edited July 2022

    makes it easier to find the properties you use(d) without scrolling down a grayed out 2ft long list :)

    oh and that's the head pose i proceeded to make after using this script

     

    Silver Dolphin said:

    Nice Thank you

    33.png
    3840 x 2160 - 7M
    Post edited by mCasual on
Sign In or Register to comment.