Skip to main content
Participant
December 19, 2019
Question

I can't edit layer shape path with expressions

  • December 19, 2019
  • 1 reply
  • 1123 views

Hello,

 

every time I have an expression in a path I need to cut to the clipboard if I want to modify or edit path shape, point bezier curve, etc then I paste the expression back.

 

Does anyone have the same problem?

This topic has been closed for replies.

1 reply

Martin_Ritter
Legend
December 19, 2019

I think the expression overrides the path values and therefore you can edit the path, but it doesn't have any effect. This is standard behaviour of expressions.

 

Instead of cutting the expression to clipboard, you can try to just disable it with a click on the = sign. Edit the path and enable it again.

 

*Martin

Participant
December 19, 2019

Thank you for the = sign tip, I didn't know this function and it would be easier this way.

 

But I don't understand why the expression overrides the path value, sometimes I need to loop some shape movement with the expression:

valueAtTime(time % key(numKeys).time)

 

then I need to edit the shape a little bit to get the exact animation I'm looking for, this expression should affect the time value or keyframes, not the path.

 

Thank you for the answer any way!

Mylenium
Legend
December 19, 2019

You are creating a cyclic connection. Using valueAtTime() on the same layer/ property that you are modifying is not advised. Create the path on a separate layer and reference it.

 

Mylenium