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

Automation Blocks - Copy Transform Position to Motion Position

Community Beginner ,
Dec 18, 2025 Dec 18, 2025

I'm trying to alter the "Copy Auto Reframe Track To Transform" to copy the Transform Effect position to the Motion position.

But I can't figure out why "is almost equal" keeps returning false even when the values are identical.

Could anyone give me a hand?

Sample console info:

 

execute script

prop vals: [[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5],[0.64375001192093,0.5]]

compare [0.64375001192093,0.5] <-> [0.64375001192093,0.5] skip frame 1

TOPICS
SDK
188
Translate
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 Expert ,
Dec 18, 2025 Dec 18, 2025

Do you get this only for your modified script or also for the original one? Can you attach your script such that we can see exactly the code producing that output?

 

To troubleshoot this, I would add more console output to check what exactly goes wrong. Here I added more detailed output to "is almost equal":
Bildschirmfoto 2025-12-19 um 08.04.35.png

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Translate
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 ,
Dec 18, 2025 Dec 18, 2025

Thank you for your reply.

The original script is fine, it's just my version that errors.

I've attached my script, and I'll take a look at your notes to try to understand that function better.

Translate
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 Expert ,
Dec 20, 2025 Dec 20, 2025
LATEST

Bildschirmfoto 2025-12-20 um 18.46.39.png

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Translate
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