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

Mysterious PropertyValueType.CUSTOM_VALUE

Participant ,
Sep 01, 2017 Sep 01, 2017

I've read a discussion started in 2014, stating that you can't access property values of type PropertyValueType.CUSTOM_VALUE. Also, you can't set it. There is pretty much nothing you can do with them.

Typical path:

comp.layer(1).property("ADBE Effect Parade").property("ADBE CurvesCustom").property("ADBE CurvesCustom-0001").value;

Curves, Levels, Hue and Saturation are the effects (that I know of) that are using this CUSTOM_VALUE. Is extend script still incapable of doing anything with this properties? Is there a way to get a glimps of what they store internally?

TOPICS
Scripting
1.4K
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
Advocate ,
Sep 01, 2017 Sep 01, 2017

As the name CUSTOM_VALUE implies, it's not possible to read/write them. However, you can save such property as Animation Preset and investigate the ffx file to see what's going on in there.

Basically, you cannot access those properties that you cannot edit in the timeline.

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
Participant ,
Sep 01, 2017 Sep 01, 2017

What tool do you use to investigate ffx files? textedit basically just shows a bunch of weird characters along with some property names.

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
Engaged ,
May 06, 2019 May 06, 2019

Export two .ffx files with only a single parameter of interest changed.  Then use a hex editor to compare the two and figure out which bytes changed.  Metadata is included in the .ffx files, so ignore that.

A good tip is that if the custom value involved a gradient of some kind, set that gradient to a weird color, and then search the .ffx file for that color's 8-bit hex value.  That's how I figured out the format of the colorama .ffx file.

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
Explorer ,
May 07, 2019 May 07, 2019
LATEST

Please note that although .ffx files are forwards compatible, they are not backwards-compatible.
So an animation preset created in After Effects CC 2018 won't be compatible with CC 2014.
You must create your .ffx on the earliest AE version you want to support (e.g. CS6).


Keep that in mind when distributing your scripts or presets.

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