Search found 98 matches

by Simma
February 20th, 2011, 3:12 pm
Forum: General Scripts Library
Topic: CameraMapper_Setup
Replies: 2
Views: 12520

Re: CameraMapper_Setup

I think you're right, as there could be a lot of keyframes. But strange that it's slower on Mac, should be the same on PC. I'm not sure if I understand your trick, but I'll try to figure it out and see if it could be used to speed this thing up. Thank you :).
by Simma
February 20th, 2011, 11:12 am
Forum: General Scripts Library
Topic: CameraMapper_Setup
Replies: 2
Views: 12520

CameraMapper_Setup

Here's a script that makes it easy to use DigiEffects Camera Mapper with matchmoved (3D tracked) cameras. It's based on the technique shown by Stephen Wong ( http://www.thefoundry.co.uk/products/cameratracker/training/#201_vids ) and seems to work pretty good. If you like using 3D compositing and pr...
by Simma
February 4th, 2011, 2:44 am
Forum: Scripts Discussion
Topic: timeToCurrentFormat = less digits?
Replies: 2
Views: 7363

Re: timeToCurrentFormat = less digits?

Thank you Lloyd, worked perfectly :).
by Simma
February 4th, 2011, 2:44 am
Forum: General Scripts Library
Topic: AE_submitToRush
Replies: 3
Views: 14742

AE_submitToRush

Here's a little script that submits your current After Effects composition to Rush for network rendering. It automatically fills in a lot of the fields in the Rush script, like project path, frames to render (based on work area) etc. Edit the variables to fit your needs. See last post for new (worki...
by Simma
February 3rd, 2011, 3:39 pm
Forum: Scripts Discussion
Topic: timeToCurrentFormat = less digits?
Replies: 2
Views: 7363

timeToCurrentFormat = less digits?

I use the timeToCurrentFormat to get the frame numer at the current time. Later on I use that information when naming layers and so on. At the moment when I rename layers with that information they get named something like "FreezeFrame_000021", but I would like to have it named "Freez...
by Simma
January 25th, 2011, 8:50 am
Forum: Script requests
Topic: Submit AE to Rush script - example included
Replies: 2
Views: 9357

Re: Submit AE to Rush script - example included

Hm, I ment to be in the "Script Request" forum. But anyway, do you think this could be done? Looking at it: def RushSubmit(): // Just the name of the function? nukescript = nuke.Root().name() // the path of the Nuke script. Should be possible in AE aswell? sfrm = nuke.Root().firstFrame() /...
by Simma
January 25th, 2011, 6:06 am
Forum: Script requests
Topic: Submit AE to Rush script - example included
Replies: 2
Views: 9357

Submit AE to Rush script - example included

We recently started using Rush for AE renders and it works great. In Nuke it's possible to script so that when you run the script, it starts Rush and loads the current project, and the numbers of frames to render. Could this be done in AE aswell? At the moment I manually have to start the submit pro...
by Simma
January 23rd, 2011, 8:58 am
Forum: Scripts Discussion
Topic: Replacing layers but keeping the same names
Replies: 1
Views: 5877

Replacing layers but keeping the same names

I have a composition with a log of nulls called "Null1", "Null2", "Null3" etc. I want to replace all of the nulls with a composition. This all works without any problems, but it replace the names as well. I want the replacement layer to take the names of the original la...
by Simma
December 29th, 2010, 3:42 pm
Forum: Scripts Discussion
Topic: Reset value and remove keyframes - possible?
Replies: 5
Views: 13087

Re: Reset value and remove keyframes - possible?

Got it working, here's the code in case anyone needs it in the future:

Code: Select all

var myComp = app.project.activeItem;
var myLayer = myComp.layer(1);

var numberKeys = myLayer.rotation.numKeys;

for (var i=numberKeys; i>0; i --) {
    myLayer.rotation.removeKey(i);
Thank you for your help.
by Simma
December 28th, 2010, 12:09 pm
Forum: Scripts Discussion
Topic: Reset value and remove keyframes - possible?
Replies: 5
Views: 13087

Re: Reset value and remove keyframes - possible?

Thank you Lloyd, will try to get a loop working.
by Simma
December 28th, 2010, 11:35 am
Forum: Scripts Discussion
Topic: Reset value and remove keyframes - possible?
Replies: 5
Views: 13087

Re: Reset value and remove keyframes - possible?

Thank you for your respond Lloyd. I couldn't find anything about removing (exept for remove one keyframe) in the scripting guide. So then I searched here and all I could find was old responses that seemed very complicated. Thought it would be a pretty basic thing. Will have to dig deeper into that. ...
by Simma
December 28th, 2010, 4:14 am
Forum: Scripts Discussion
Topic: Reset value and remove keyframes - possible?
Replies: 5
Views: 13087

Reset value and remove keyframes - possible?

Hi all, first sorry for all the questions. Your help is helping me alot in learning this stuff. I though it would be better to post in different threads so that other people easily can find the answer as well by doing a simple Google search. Anyway, I have a variable called "myCamera" (for...
by Simma
December 28th, 2010, 4:02 am
Forum: Scripts Discussion
Topic: Duplicate a layer and a camera and do stuff individually?
Replies: 3
Views: 8586

Re: Duplicate a layer and a camera and do stuff individually

Thank you Lloyd, you (and this site) is very helpful. I did search for info about this but couldn't find any. Don't know if this is correct, but it worked for me; var selLayers = app.project.activeItem.selectedLayers; for (var i=0; i<selLayers.length;i++) if(selLayers[i] instanceof CameraLayer){ var...
by Simma
December 27th, 2010, 6:25 am
Forum: Scripts Discussion
Topic: Duplicate a layer and a camera and do stuff individually?
Replies: 3
Views: 8586

Duplicate a layer and a camera and do stuff individually?

Hi all, I'm trying to write a script that will (among other stuff) duplicate my selected layers, which is a camera layer and a footage layer. Then I would like to to do different things to them, say adjust the position of the camera and adjust the rotation of the footage. I think I can find the dupl...