Copy link to clipboard
Copied
I am trying to use AE SDK to set the text style of the text in text layer, but I cannot find the relevant API; AEGP_SetText looks similar, but I'm not sure how to use it and there's no relevant description in the documentation
Copy link to clipboard
Copied
I think it can only be done via javascript.
you can use AEGP_ExecuteScript() for that.
Copy link to clipboard
Copied
Thank you for your reply. I can indeed obtain the information I need through JavaScript. But I am still very puzzled why AE SDK does not provide a corresponding API for such a simple and commonly used requirement?
Copy link to clipboard
Copied
There's a lot of things that javascript can do that the c++ SDK can't, especially relating to text :'(
Copy link to clipboard
Copied
the c++ and javascript apis mostly overlap, but there are some things the one can do and the other can't. (both ways)
luckily, when it's stuff that's done "once off" such as creating ketfraems, and not something done "per frame redner", then the imacpt in performance is negligible.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now