Rename an effect/plugin

Explorer ,
Sep 07, 2022 Sep 07, 2022

Copy link to clipboard

Copied

Is it possible to rename an effect using and AEGP or some other way? I see the AEGP_GetEffectName to get the name but there is no set.

TOPICS
SDK

Views

38

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
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 07, 2022 Sep 07, 2022

Get the effects's param 1 ref stream, then get it's parent stream using AEGP_GetNewParentStreamRef.

that parent stream is the effects stream. you can now change it's name using AEGP_SetStreamName.

Likes

Translate

Translate
Community Expert ,
Sep 07, 2022 Sep 07, 2022

Copy link to clipboard

Copied

I'm not clear what you are asking. Why would you want to rename the effect itself? You can simply let it have any name you want in the UI.

 

Mylenium

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
community guidelines
Explorer ,
Sep 07, 2022 Sep 07, 2022

Copy link to clipboard

Copied

My plugin creates instances of itself, and I want to be able to specify the name of those instances. The name is no predictable. I only know the name at the exact point I create a new instance.

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
community guidelines
Community Expert ,
Sep 07, 2022 Sep 07, 2022

Copy link to clipboard

Copied

Get the effects's param 1 ref stream, then get it's parent stream using AEGP_GetNewParentStreamRef.

that parent stream is the effects stream. you can now change it's name using AEGP_SetStreamName.

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
community guidelines
Explorer ,
Sep 08, 2022 Sep 08, 2022

Copy link to clipboard

Copied

LATEST

Thank you, that was it... It's also written in the SDK guide when we look for AEGP_GetEffectName and I completely missed it, sorry.

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
community guidelines