Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Add extra height

  • Posted by Frank Bemthuis on October 1, 2018 at 3:26 pm

    Hi,

    I’m having some trouble with just a really plain solution.

    I have 1 shape layer with 2 rectangle’s in it.
    1- a filled box, which determines the size
    2- a line-only box, which is a little bit off in position

    I want the line-only box (let’s call it “box line”) to be the same size as the filled box (let’s call that one “box filled”)+ some extra width and height..
    That’s not that hard I though, like very basic stuff. So I parented the size of “box line” to “box filled” and added ‘+100’

    But… it only added some to the width. And as you already guessed, I wanted some extra to the height too!
    The most simple thing, adding a comma and another value, yeah… that didn’t work.

    So, how do I fix some extra height too?

    PS. Call me a rookie all you want – because the answer maybe be very simple I guess- but that ‘size’ only reacts to the width doesn’t seem very logic to me to be honest.

    content("box filled").content("Rectangle Path 1").size+100

    Dan Ebberts replied 7 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    October 1, 2018 at 3:36 pm

    Try it this way:

    content(“box filled”).content(“Rectangle Path 1”).size + [100,100]

    Dan

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