0
how can I get the pluginID in Effect type plugins?
Community Beginner
,
/t5/after-effects-discussions/how-can-i-get-the-pluginid-in-effect-type-plugins/td-p/1672182
Mar 14, 2009
Mar 14, 2009
Copy link to clipboard
Copied
Hi,
I am craeting Effcet plugin and I want to get the PluginID because I want to execute the script file using AEGP_ExecuteScript() function?.
so Could you please tell me how can I get the pluginID in Effect plugins?
Thanks
Manjunath G
I am craeting Effcet plugin and I want to get the PluginID because I want to execute the script file using AEGP_ExecuteScript() function?.
so Could you please tell me how can I get the pluginID in Effect plugins?
Thanks
Manjunath G
TOPICS
SDK
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/after-effects-discussions/how-can-i-get-the-pluginid-in-effect-type-plugins/m-p/1672183#M148145
Mar 14, 2009
Mar 14, 2009
Copy link to clipboard
Copied
You mean the match name? Check redefinery.com for that and make good use of the list provided there as well as the rd_GimmeProps script.
Mylenium
Mylenium
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Manjunath_Gudisi
AUTHOR
Community Beginner
,
/t5/after-effects-discussions/how-can-i-get-the-pluginid-in-effect-type-plugins/m-p/1672184#M148146
Mar 15, 2009
Mar 15, 2009
Copy link to clipboard
Copied
Hi Mylenium,
Thanks for your reply.
see the below function prototype...
SPAPI A_Err (*AEGP_ExecuteScript)(AEGP_PluginID inPlugin_id, const A_char* inScriptZ,// in const A_Boolean latform_encodingB,// in AEGP_MemHandle* outResultPH0, AEGP_MemHandle* outErrorStringPH0);
I am developing a Effect plugin and I want to execute the script by using above function. So, How can I get the pluginID from the AfterEffects?
I have seen the sample SDK projects. In the AEGP (floder) SDK samples, the EntryPointFunc function prototype itself there is a pluginID.
See the EntryPointFunc() prototype...
EntryPointFunc( struct SPBasicSuite *pica_basicP, A_long major_versionL,
A_long minor_versionL,
const A_char *file_pathZ, const A_char *res_pathZ,
AEGP_PluginID aegp_plugin_id, void *global_refconPV);
I hope, you understood my problem?
Thanks
Manjunath
Thanks for your reply.
see the below function prototype...
SPAPI A_Err (*AEGP_ExecuteScript)(AEGP_PluginID inPlugin_id, const A_char* inScriptZ,// in const A_Boolean latform_encodingB,// in AEGP_MemHandle* outResultPH0, AEGP_MemHandle* outErrorStringPH0);
I am developing a Effect plugin and I want to execute the script by using above function. So, How can I get the pluginID from the AfterEffects?
I have seen the sample SDK projects. In the AEGP (floder) SDK samples, the EntryPointFunc function prototype itself there is a pluginID.
See the EntryPointFunc() prototype...
EntryPointFunc( struct SPBasicSuite *pica_basicP, A_long major_versionL,
A_long minor_versionL,
const A_char *file_pathZ, const A_char *res_pathZ,
AEGP_PluginID aegp_plugin_id, void *global_refconPV);
I hope, you understood my problem?
Thanks
Manjunath
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Manjunath_Gudisi
AUTHOR
Community Beginner
,
/t5/after-effects-discussions/how-can-i-get-the-pluginid-in-effect-type-plugins/m-p/1672185#M148147
Mar 16, 2009
Mar 16, 2009
Copy link to clipboard
Copied
I found the solution in Internet and implemented that. The solution is
// Get the pluginID
AEGP_GlobalRefcon globalRef=NULL;
const A_char* pluginName = "PNAME";
AEGP_PluginID pluginID;
utilitySuite5->AEGP_RegisterWithAEGP( globalRef, pluginName, &pluginID );
the AEGP_RegisterWithAEGP() function returns pluginID.
I have implemented this and got the pluginID, but I dont know is it correct way or not??
Thanks
Manjunath
// Get the pluginID
AEGP_GlobalRefcon globalRef=NULL;
const A_char* pluginName = "PNAME";
AEGP_PluginID pluginID;
utilitySuite5->AEGP_RegisterWithAEGP( globalRef, pluginName, &pluginID );
the AEGP_RegisterWithAEGP() function returns pluginID.
I have implemented this and got the pluginID, but I dont know is it correct way or not??
Thanks
Manjunath
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/after-effects-discussions/how-can-i-get-the-pluginid-in-effect-type-plugins/m-p/1672186#M148148
Mar 16, 2009
Mar 16, 2009
Copy link to clipboard
Copied
*woohoo* Glad you could figure it out. Contrary to what you may have thought, I'm not programming in C++, i only thought you were looking for a specific plug-in's internal name. :-)
Cheers
Mylenium
Cheers
Mylenium
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

