Jay Brown
Forum Replies Created
-
Jay Brown
November 1, 2017 at 2:12 am in reply to: Scripting: Generate varying height rectangles based on checkbox controls?A work around I use all the time if rendering is unstable is to render out PNG sequences.
If your computer craps out on frame 1200, you don’t lose the entire .MOV. All you have to do is open AE back up and start your render beginning at frame 1200. When it’s finally done, you can import the PNG sequence into AE and then render just the PNG sequence as a .MOV.
Another advantage to this is that you could render your PNGs with alpha. That way you could render a few different types of effects onto individual sequences, bring them all into AE, layer them all on top of each other, and then render out a single Effects Insanity .MOV. -
Jay Brown
October 25, 2017 at 3:12 am in reply to: Disappearing ScriptUI elements in docked panel problemDid you have any luck figuring this out?? Running into the same problem
-
Jay Brown
October 24, 2017 at 6:09 pm in reply to: Scripting: Retrieving Label Color from PreferencesSorry I missed this and thanks so much for the reply Xavier!
Took me a while to figure it how to search .txt file but finally got it working.
Ended up having to remove the first two Fs from the string, then go through and convert just the quoted letters to HEX, add the sections back together and then convert the new completed HEX string to RGB from my purposes.
Really odd how they don’t seem to want you recalling the colors ha -
Jay Brown
August 1, 2017 at 11:08 pm in reply to: Scripting: Retrieving Label Color from PreferencesAhhh, okay I’ll give that a try
The one time I need getPrefAsString and it only doesn’t work for this specific setting x_x -
I ran a few tests and it seems as though getPrefAsString() imports anything surrounded in quotes fine, but struggles with characters outside of quotes. Sort of makes sense, in that whatever is in quotes is considered a string, not sure why it still retrieves some additional data though.
Still looking for a solution. Not sure if savePrefAsString() could be used to add quotes to the existing pref text document or something like that, and then try to retrieve the string again? TBD!
-
Dang! Thanks for the reply Dan 😀
-
Thank you Dan, it works perfect! I haven’t ever used split before, that’s brilliant.
It seems like there should be a way to access the metadata in the Project Panel. In the Project panel the AI and EPS items Type category has “Vector Art” listed. Is it possible to read the project item’s Type category?
-
It works like a charm! You are an absolute legend!
Originally I tried .length and length() on oSet and kept getting errors, I didn’t even think about trying it on the value itself. I finally get now too how the (value instanceof Array) works!
thank you so much,
-Jay -
Thanks for the response Dan!
Sorry I should have fully explained what I’m trying to do. I have a 3D Point controller on a Null and I’m trying to create an expression that works universally for whatever property I add it too. For example the 3D Point values are [25, 50, 100].
If I add it to rotation the value would be [25]. If I add to the scale it the value would be [25, 50]. If I add it too a 3D point the value would be [25, 50, 100] and so on.This is what I started with:
oSet = thisComp.layer("Controller").effect("Offset")("3D Point");
value + oSet;Is there a way to tell the property to ignore the extra value?