Copy link to clipboard
Copied
Hi All,
Anyone knows a way to query effect's version within AEGP?
Best regards,
Yuri
1 Correct answer
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
great!
Looks like a nice solution)

