applyPreset error


hi

 

i have script ui palette. adds ffx preset controller null using applypreset. adds different expression various properties on layer. layer controlled controller null.

this works fine. script can replace ffx different ffx. when that, first delete expressions on layer being controlled. remove current effect on controller , adds new ffx. last add new expressions layer.

 

when doing that, shift. ae starts behaving wierldy. expressions doesn't work, though correct. , if undo or try new effect added, error:

"after effects error: internal verification failure, sorry! {stream @ index has wrong matchname} (29::0)"

edit: if undo error: "after effects error: internal verification failure, sorry! {invalid index in indexed group}"

 

the presets add located in scripts/scriptui panels/myplugin folder.

i created them using https://videohive.net/item/flex-effector/12444265

i'm on osx using ae 13.8.1.38 (i try on windows machine later today)

 

any ideas?

 

thanks,

jakob

 

edit2: tested on win10. same problem.

found error now. have select layer code before run applypreset. this:

layer.selected = true;

 

adobe > wierd behaviour though, , not word in reference.



More discussions in After Effects Scripting


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop