Linking to a CSV file
Currently I am able to link a mask path from another layer to my current layer by adding the following expression:
For the mask 1 expression
thisComp.layer("Keyframes_master").mask("mask_1").maskPath
For the mask 2 expression
thisComp.layer("Keyframes_master").mask("mask_2").maskPath
For the mask 3 expression
thisComp.layer("Keyframes_master").mask("mask_3").maskPath
I was trying to achieve the same results by linking to a CSV using the expressions below, but I'm getting an error. Any help on how I can correct this would be appreciated. !
Thanks!!
For the mask 1 expression
thisComp.layer("Keyframe_ref").footage("Keyframe_ref.csv").dataValue([1,1])
For the mask 2 expression
thisComp.layer("Keyframe_ref").footage("Keyframe_ref.csv").dataValue([1,2])
For the mask 3 expression
thisComp.layer("Keyframe_ref").footage("Keyframe_ref.csv").dataValue([1,3])
For reference, here is what is in the CSV file
0,1,,,,,,,
1,thisComp.layer("Keyframes_master").mask(“mask_1”).maskPath,,,,,,,
2,thisComp.layer("Keyframes_master").mask(“mask_2”).maskPath,,,,,,,
3,thisComp.layer("Keyframes_master").mask(“mask_3”).maskPath,,,,,,,