[Sidefx-houdini-list] hscript or python commands to reduce keyframes?

Robert Kelly isstuff at gmail.com
Fri May 14 14:00:49 EDT 2010


worked like a charm

def reduceKeys(fbxNode):
    for node in fbxNode.allSubChildren():
        if node.type().name() == 'geo' or node.type().name() == 'subnet':
            hou.hscript('chrefit -t 0.0001' + node.path() + '/[tsr][xyz]')

On 14 May 2010 09:54, Edward Lam <edward at sidefx.com> wrote:
> Robert Kelly wrote:
>> I am dealing with a fbx file that has keyframes on all the objects
>> translates, rotation and scale. Most of the keyframes are on
>> unchaining values. I am looking for the functions that reduce
>> keyframes so i can clean them up.
>> Any ideas?
>
> Try the chrefit hscript command.
>
> Regards,
> -Edward
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list