|
I am not very sure why you can’t use AnimationNode that I showed...so lets do it differently :)
from pyfbsdk import *
gFilterManager = FBFilterManager() gFilter = gFilterManager.CreateFilter( "Time Shift And Scale" ) gFilter.PropertyList.Find("Scale").Data = 20
for lComponent in FBSystem().Scene.Components:
if lComponent and lComponent.Is(FBModel_TypeInfo()):
for lProp in lComponent.PropertyList:
if lProp and lProp.IsAnimatable() and lProp.IsAnimated():
gFilter.Apply (lProp.GetAnimationNode(), True)
Author: KxL
|