Cut layer through Marker
Posted: March 28th, 2017, 4:35 am
I'm trying to cut layer through markers in buttom layer.
But It's startTime at each marker only, not inPoint.
I know inPoint must equal a number, but i don't know how to fix it. Anyone help me out with it?
Thanks a lot!
I have this:
">
But It's startTime at each marker only, not inPoint.
I know inPoint must equal a number, but i don't know how to fix it. Anyone help me out with it?
Thanks a lot!
I have this:
var thisComp = app.project.activeItem;
var myLayer = thisComp.selectedLayers[0];
var numMarkers = myLayer.marker.numKeys;
for (i = 1; i <= numMarkers; i++) {
thisComp.layer(i).inPoint = myLayer.marker.keyTime(i);
}
