Page 1 of 1

Are custom effects still not scriptable (CS6+) ?

Posted: November 12th, 2014, 3:26 am
by berniebernie
Hello, I know this was impossible in the past but

Is there a way to write/read custom data ? I'm thinking 'black box' type effects -- Optical Flares, Looks etc... or even histogram/curve?

Looking at PropertyValueType.CUSTOM_VALUE, there's no way, short of asking the user to save an FFX

thanks

bernie

Re: Are custom effects still not scriptable (CS6+) ?

Posted: November 13th, 2014, 4:08 am
by beginUndoGroup
For CUSTOM_VALUE (eg curves) AND NO_VALUE (eg gradient), it is not even possible to read the value (there is no object designed to wrap the value data).

By the way, how would you save a preset by script, even if there is no such type of value involved ?

Re: Are custom effects still not scriptable (CS6+) ?

Posted: November 13th, 2014, 8:00 am
by berniebernie
beginUndoGroup wrote:For CUSTOM_VALUE (eg curves) AND NO_VALUE (eg gradient), it is not even possible to read the value (there is no object designed to wrap the value data).

By the way, how would you save a preset by script, even if there is no such type of value involved ?
use the call UI command function on "Save Animation Preset", grab the ffx from where the user saved it (the desktop), move to proper presets directory, apply FFX preset. The ugly bit is that a UI pops up to save the ffx, but it does save any effect.

Re: Are custom effects still not scriptable (CS6+) ?

Posted: November 13th, 2014, 12:37 pm
by beginUndoGroup
Ah thank you. I forgot about the MenuCommands.