LayerCollection precompose() method
app.project.item(index).layers.precompose(layerIndicies, name, moveAllAttributes);
or you could create the comp and use
layer.copyToComp(compLocation);
Search found 10 matches
- March 13th, 2014, 10:48 am
- Forum: Script Tutorials
- Topic: Move Layers to a new comp
- Replies: 1
- Views: 52861
- March 13th, 2014, 10:37 am
- Forum: Script requests
- Topic: Select timeline after running script
- Replies: 3
- Views: 19429
Re: Select timeline after running script
Is this what you're after?
app.activeViewer.setActive();
app.activeViewer.setActive();
- March 13th, 2014, 9:01 am
- Forum: Scripts Discussion
- Topic: BridgeTalk.bringToFront ("aftereffects"); - No longer works
- Replies: 0
- Views: 9701
BridgeTalk.bringToFront ("aftereffects"); - No longer works
I have been putsing around with a script since CS6. Suddenly with the most recent updates to CC, BridgeTalk.bringToFront ("aftereffects"); isn't working on my pc. I have tested this on a mac and it seems to work fine however when I try on my windows 7 system, nothing. I searched through th...
- June 24th, 2011, 6:28 am
- Forum: Script requests
- Topic: Point Control Position Based on Mask Spline Percentage.
- Replies: 3
- Views: 16697
Re: Point Control Position Based on Mask Spline Percentage.
I am trying to build a larger script that automatically creates a moving arrow and this is totally what I need to continue. Thanks. But is there really no way to access the mask shape information beyond copying and pasting the mask into the position channel? Would there be a solution if the mask wer...
- June 23rd, 2011, 2:47 pm
- Forum: Script requests
- Topic: Point Control Position Based on Mask Spline Percentage.
- Replies: 3
- Views: 16697
Point Control Position Based on Mask Spline Percentage.
I am looking for an expression or script that will create. A Point Control who slides along a mask spline based on a percentage slider. For example if I had a Slider Control at 0% the position of the Point Control would be at the beginning of the spline. If I had a Slider Control at 100% the positio...
- January 26th, 2011, 12:02 pm
- Forum: Scripts Discussion
- Topic: frame sequence number
- Replies: 5
- Views: 19133
Re: frame sequence number
Ugh this track matte thing gave me such a headache.
Thanks!
Thanks!
- February 10th, 2009, 1:56 pm
- Forum: Expression Discussion
- Topic: I want Adjustment Layer to only effects certian layers?
- Replies: 2
- Views: 12742
Re: I want Adjustment Layer to only effects certian layers?
Unfortunately that is not an option either. I am using the alpha channel from another comp on the adjustment layers to hide and reveal my solids. Putting the channel effect on the layer will not work correctly when I adjust the position of my solids. I could achieve this by creating multiple track m...
- February 10th, 2009, 1:14 pm
- Forum: Expression Discussion
- Topic: I want Adjustment Layer to only effects certian layers?
- Replies: 2
- Views: 12742
I want Adjustment Layer to only effects certian layers?
Is this possible the achieve this set up with expressions? 1. Adjustment Layer - Effect A 2. solid1 - Effected A 3. solid2 - Effected A 4. Adjustment Layer - Stop Effect A 5. Adjustment Layer - Effect B 6. solid3 - Effected B 7. solid4 - Effected B I am in a situation where I can't precomp because I...
- May 8th, 2008, 7:32 am
- Forum: Expression Discussion
- Topic: Expression to link camera to grid effect.
- Replies: 2
- Views: 12992
Re: Expression to link camera to grid effect.
I should say that in this case I am not needing to rotate what so ever. I just need to push in and out and move around the grid in 3d space. The motion tile effect works very much like the grid. There is an anchor point and a way to scale width and height from that anchor point. As a matter of fact ...
- May 7th, 2008, 1:30 pm
- Forum: Expression Discussion
- Topic: Expression to link camera to grid effect.
- Replies: 2
- Views: 12992
Expression to link camera to grid effect.
Expression to link camera to grid effect. I have been trying to get this to work for some time with no luck. I am trying to make the grid effect in after effects to work as if it were a never ending 3d layer. I can't use a photo of a grid, I need something that goes on forever and keeps the same lin...