This content has been marked as final. Show 6 replies
For an individual layer, just select the layer and type IBON. For multiple layers, I seem to recall a script somewhere that did it - I'll have a dig around.
I think that Andrew is talking about setting the work area to the In and Out points of the selected layer.
No, I don't know how you would automatically set the region of interest to be just the part of the composition frame that is filled by the currently selected layers. If what you're tying to do is temporarily not render the other layers for previews, you could solo the selected layers. (See the "Solo a layer" section of After Effects Help.)
No, I want to crop a comp to a layer's dimensions.
Sorry, obvious brain lapse on my part.
I'm also unaware of a way to do what you want.
I'm not aware of an instant way, either, but I would assume that this could be done with a script - select the layers, hide the others, calculate the bounding box with a temporary sampleImage() expression, apply min and max values to the ROI and/or set the comp size accordingly... Might be worth starting a thread over at AEnhancers. In the grander scheme I'm just not clear what you would hope to achieve - hiding layers not needed should be sufficient as AE will auto-optimize and not process "empty" pixels, so there would be no additional speed gains. And you could do the cropping just as well with a simple batch action in PS...
I posted this request to AE Enhancers.
I was handed an AE project created by someone else. I had multiple layers I needed to crop to the dimension of a single comment element used in all three layers. Would have been nice to have a script for this.