-
Extendscript to change a nullLayer from 2d to 3d
I appreciate this forum for its quick responce to Extendscript questions.
I would like to create a nullLayer that has 3 dimension not 2 using extendscript.
I cant seem to find that property.var theItem=app.project.items.addComp(“test”,960,540,1,3,30.0);
var newNull= theItem.layers.addNull(theItem.duration)
newNull.name=”null_21″;but when I add
newNull.position.setValueAtTime(0.0333333333333,[0.0, -3.592710735477347, -46.21629980602801]);the z values are not respected.
I know I’m missing something and the addNull() method only has duration .