Forum Replies Created

Page 1056 of 1081
  • Dan Ebberts

    September 27, 2005 at 4:07 pm in reply to: Looping time Remap with Expressions

    I think we need more info. Is your pre-comp the same length as the comp it’s nested in? If so, you have to set some keyframes around the area you want to loop and delete the last one that AE added when you turned on time remapping.

    If your pre-comp is shorter than your main comp and you want to loop the entire pre-comp, after you enable time remapping you have to extend the duration of the pre-comp with the little slider gizmo, set a keyframe at one frame before the last keyframe that AE added and change the value of the last keyframe to zero to get a perfect loop. I’m assuming you’re using the “cycle” flavor of loopOut().

    Dan

  • Dan Ebberts

    September 27, 2005 at 12:46 am in reply to: A Script to access Sourcetext

    I haven’t tested this stuff, so there may be errors, but basically it’s like this. Finding a specific comp in the project window is kind of clunky, but you can do it like this:

    var compName = “xxxx”; //comp name goes here
    var myProject = app.project;
    var n = myProject.numItems;
    var foundIt = false;
    var i;
    for (i=1; i<=n; i++){ if (myProject.item(i).name == compName){ var myComp = myProject.item(i); break; } } Finding a layer in a comp is pretty much the way you do it in expressions: var layerName = "yyyy"; //layer name goes here var myLayer = myComp.layer(layerName); Getting the length of a layer's source text would look like this: var mySourceText = myLayer.text.sourceText; var mySourceTextLen = mySourceText.len; Hope that's helpful. Dan

  • Dan Ebberts

    September 27, 2005 at 12:46 am in reply to: A Script to access Sourcetext

    I haven’t tested this stuff, so there may be errors, but basically it’s like this. Finding a specific comp in the project window is kind of clunky, but you can do it like this:

    var compName = “xxxx”; //comp name goes here
    var myProject = app.project;
    var n = myProject.numItems;
    var foundIt = false;
    var i;
    for (i=1; i<=n; i++){ if (myProject.item(i).name == compName){ var myComp = myProject.item(i); break; } } Finding a layer in a comp is pretty much the way you do it in expressions: var layerName = "yyyy"; //layer name goes here var myLayer = myComp.layer(layerName); Getting the length of a layer's source text would look like this: var mySourceText = myLayer.text.sourceText; var mySourceTextLen = mySourceText.len; Hope that's helpful. Dan

  • Dan Ebberts

    September 26, 2005 at 9:00 pm in reply to: using 3D objects in AE without plugins

    Very nice! Thanks for sharing.

    Dan

  • Dan Ebberts

    September 26, 2005 at 9:00 pm in reply to: using 3D objects in AE without plugins

    Very nice! Thanks for sharing.

    Dan

  • Dan Ebberts

    September 26, 2005 at 3:58 pm in reply to: Scripting: Can I detect a selected vertex?

    Sorry, I don’t think so.

    Dan

  • Dan Ebberts

    September 26, 2005 at 2:22 pm in reply to: Scripting: Can I detect a selected vertex?

    I’ve never tried it, but I don’t think you can do it. If you figure out a way, let us know!

    Dan

  • Dan Ebberts

    September 25, 2005 at 8:33 pm in reply to: Simple script question

    Try this:

    P = thisComp.layer(“Camera 1”).position;
    [P[0],P[1],value[2]]

    Dan

  • Dan Ebberts

    September 25, 2005 at 8:33 pm in reply to: Simple script question

    Try this:

    P = thisComp.layer(“Camera 1”).position;
    [P[0],P[1],value[2]]

    Dan

  • Dan Ebberts

    September 25, 2005 at 8:30 pm in reply to: camera to object angle

    >I might post a sample when I have got it working with real footage

    Please do.

    Glad it worked out for you!

    Dan

Page 1056 of 1081

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy