Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects constant stroke weight on…everything?

  • constant stroke weight on…everything?

    Posted by Steve Mccarthy on November 2, 2016 at 11:25 am

    Hello, I’ve tried searching everywhere for this but I’m getting nowhere. I’m creating a line-art style animation and I’m wanting to keep a constant stroke weight on everything (that has a stroke). I’m aware of ways to do it for individual items but because I’m parenting things to null objects, those techniques don’t seem to work. As the null object scales, the stroked objects are shrinking as you’d expect, but I want all stroke weights of all objects to stay constant. here’s a quick render of how it looks now.
    Any ideas?

    Steve Mccarthy replied 9 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dave Jackson

    November 2, 2016 at 12:03 pm

    shape layers right?
    This works for me:
    content("Stroke 1").strokeWidth/(thisComp.layer("Null 1").transform.scale[0])*100

    To implement:
    set an expression on the Stroke Width, then add a /
    then pick whip the x value of your parented null
    and finally add a *100

  • Steve Mccarthy

    November 3, 2016 at 9:29 am

    That works perfectly! Thanks a lot!

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