Highlighted

Is it possible to change the current time (CTI) with a plugin/AEGP?

Participant ,
Jun 21, 2020

Copy link to clipboard

Copied

I've had a browse of this forum and searched the SDK, and I couldn't find a way to do this. Is it possible? Thanks.

Adobe Community Professional
Correct answer by shachar carmi | Adobe Community Professional

get the comp's item, and then use AEGP_SetItemCurrentTime

TOPICS
SDK

Views

65

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Is it possible to change the current time (CTI) with a plugin/AEGP?

Participant ,
Jun 21, 2020

Copy link to clipboard

Copied

I've had a browse of this forum and searched the SDK, and I couldn't find a way to do this. Is it possible? Thanks.

Adobe Community Professional
Correct answer by shachar carmi | Adobe Community Professional

get the comp's item, and then use AEGP_SetItemCurrentTime

TOPICS
SDK

Views

66

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 21, 2020 0
Adobe Community Professional ,
Jun 21, 2020

Copy link to clipboard

Copied

get the comp's item, and then use AEGP_SetItemCurrentTime

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 21, 2020 1
rkudinov LATEST
Community Beginner ,
Jun 23, 2020

Copy link to clipboard

Copied

Here's a more detailed answer:

suites.PFInterfaceSuite1()->AEGP_GetEffectLayer(in_data->effect_ref, &m_layerH)

suites.LayerSuite8()->AEGP_GetLayerParentComp(m_layerH, &m_compH);

suites.CompSuite11()->AEGP_GetItemFromComp(m_compH, &compItemH);

suites.ItemSuite9()->AEGP_SetItemCurrentTime(compItemH, &compTime)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 23, 2020 1