Forum Replies Created

  • Charlie Leroy

    March 17, 2015 at 3:50 pm in reply to: How can I figure out the legnth of a path.

    Hello Chris,
    If I understood correctly you have your stroke going from 0% to 100% and the text layer is following the “moving tip” of the stroke. is that correct?

    if it is, then you can do this;
    you know the First margin starts and the first margin finish

    this should make your text starts and finish at the same time as the stroke appears ( if both the path and the stroke are the same obviously)
    on the First margin value
    //initial margin value
    var x=1641;
    //final margin value
    var y= 3086;
    //the End trim percentage
    var z= thisComp.layer("Shape Layer 1").content("Trim Paths 1").end;
    //cross product
    value =z*(y-x)/100+x

    hope it helps.

  • Hey Nicholas!
    what kind of calculations do you have to do?

  • Charlie Leroy

    March 17, 2015 at 3:21 pm in reply to: Workflow – possibility to autoUpdate footages ?

    hey, thanks for your help,
    what does AS mean?
    The thing is the new version of the footage would be named with an incremented version. like name_v01 name_v02 name_v03 etc…
    so PPro would have to check if there is a new version available and update it.

    doing this in Extenscript on AE would be fairly easy but I dont know how much I can drive PPro with Extend script.

  • Charlie Leroy

    March 17, 2015 at 1:33 am in reply to: Workflow – possibility to autoUpdate footages ?

    I would replace footages already added manually.
    If scripting in premiere uses extends riot or something similar I could write a script to do so.
    But if something exist already … Why not using it 🙂

  • Hello Walter,
    thanks a lot, that is working perfectly!
    I am learning to script on the go and this notion is going to ease my life 🙂
    thanks!

  • you can also use the pathfinder properties of the shape tool,
    using merge and round corner you can get something like this :
    booleantest.gif

  • Thanks Walter,
    sorry for the late answer.
    I am moving on on this, I managed to do the “transfert” using a 3dPointControl… and it worked 😀

    so I am almost done the system is working fine.
    However, I cant find a way to remove the 3D point after getting its coordinates.
    to add it I use addProperty but I can not find such thing as removeProperty.
    is there a function that can do this?

    In general it is very difficult to find the exact syntax of the functions I want, the Object viewer is not helping at all and I can not find any reference of removing a property in JS tool guide.
    did I miss some important document?

    thank you for your help!

  • I am progressing on this,
    now I am able to create a Null and position it correctly on a puppet pin.
    My only problem now is that If the layer(with the pins) is parented to something, I have no idea how to get the Comp coordinates ( the ones that takes in account the shift due to parenting).

    I have been able to find this phrase by Dan Ebberts:

    if you’re dealing with parenting, rotation and/or 3D. You may need to temporarily add a Point Control with a layer space transform expression to do the space conversion and harvest the result.

    I am a bit lost here about how to do this in Script?, any hint?

    thanks.

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