Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
1

Getting effect version from AEGP

Participant ,
Aug 07, 2016 Aug 07, 2016

Hi All,

Anyone knows a way to query effect's version within AEGP?

Best regards,

Yuri

TOPICS
SDK
506
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Aug 09, 2016 Aug 09, 2016

Hi Yuri,

you can use AEGP_EffectCallGeneric.

You can pass any data, so your effect version can be part of it.

You can check this thread for details:

Architecture advice for Effect and AEGP communication

Cheers,

François

Translate
Enthusiast ,
Aug 08, 2016 Aug 08, 2016

Hi!

You should check in_data->version

And here's what says the documentation:

For even more precise version checking, a plug-in can run a script using AEGP_ExecuteScript, querying one of the following attributes:

app.version - e.g. 11.0.1x12

app.buildNumber - e.g. 12.

Hope it helps,

François

Edit:

oops, I just realise you're talking about effect's version, not AE version...

I think effect versioning is up to the author, I'm not even sure you actually need to include any version data...

What are you trying to achieve?

Cheers,

Francois

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 08, 2016 Aug 08, 2016

Hi Francois,

I'm trying to build a communication protocol between several components in our system, while one of them is the effect.

As effect can change over time (so as it's properties), I would like to receive its version, so, any component other then AE would know about the correct data attributes.

Regarding the version:

when I develop an effect, I do set an effect version there, so it would be very logical to have the ability to read this version, what do you think?

Best,

Yuri

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 09, 2016 Aug 09, 2016

Hi Yuri,

you can use AEGP_EffectCallGeneric.

You can pass any data, so your effect version can be part of it.

You can check this thread for details:

Architecture advice for Effect and AEGP communication

Cheers,

François

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 09, 2016 Aug 09, 2016
LATEST

great!

Looks like a nice solution)

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