Esempio n. 1
0
def SetLayerWeight(weight=100.0, layerName=None):
    take = FBSystem().CurrentTake
    layer = None
    if layerName:
        layer = take.GetLayerByName(layerName)
    if not layer:
        layer = take.GetLayer(take.GetCurrentLayer())
    if layer:
        if layer.Name != "BaseAnimation":
            layer.Weight = weight
Esempio n. 2
0
def DeleteCurrentLayer():
    take = FBSystem().CurrentTake
    layer = take.GetLayer(take.GetCurrentLayer())
    layer.FBDelete()