• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using expression to apply and offset tracking data to clone stamp gives error?

Community Beginner ,
Dec 07, 2016 Dec 07, 2016

Copy link to clipboard

Copied

I have applied tracking data to the positions of both clone brush stroke and clone source and then used an expression to offset the tracking data and return the stroke and clone source point to the original position in order to remove an object from the composition.

First attempt (including a line break):

thisComp.layer("

tracker").transform.position-[3027-1615.5, 1509-1663.5]

Result: "Error: Unterminated String Constant"

Second attempt (deleted line break):

thisComp.layer("tracker").transform.position-[3027-1615.5, 1509-1663.5]

Result: "Error: Layer named "tracker" is missing or does not exist" (but it definitely does, and is named properly)

I tried a semi-colon ";" at the end of the line. No luck.

Third attempt:

deltaX = 3027 - 1615.5;

deltaY = 1509 - 1663.5;

x = thisComp.layer("tracker").transform.position[0];

y = thisComp.layer("tracker").transform.position[1];

[x-deltaX, y-deltaY];

Result: "Error: Layer named "tracker" is missing or does not exist"

Why is it telling me the layer doesn't exit when it does? Is this a bug or am I doing something incorrectly? I am using AE CC 2017. Is there a way to fix the error, or do I need to find a new method to use the clone stamp with tracking data?

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Feb 01, 2017 Feb 01, 2017

Renaming did not work. This appears to be a bug in AE. The way around it when this happens is to open up a new project.

Votes

Translate

Translate
LEGEND ,
Dec 07, 2016 Dec 07, 2016

Copy link to clipboard

Copied

Rename your null layer to something like TrackInfo and try pick whipping to that.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 25, 2017 Jan 25, 2017

Copy link to clipboard

Copied

Hey Greg,

Did Szalam's response help you solve your issue?

Thanks,

Kevin

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 01, 2017 Feb 01, 2017

Copy link to clipboard

Copied

LATEST

Renaming did not work. This appears to be a bug in AE. The way around it when this happens is to open up a new project.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines