Skip to main content
megamau
Inspiring
September 7, 2022
Answered

Rename an effect/plugin

  • September 7, 2022
  • 2 replies
  • 578 views

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.

This topic has been closed for replies.
Correct answer shachar carmi

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.

2 replies

shachar carmiCommunity ExpertCorrect answer
Community Expert
September 7, 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.

megamau
megamauAuthor
Inspiring
September 8, 2022

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.

Mylenium
Legend
September 7, 2022

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

megamau
megamauAuthor
Inspiring
September 7, 2022

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.