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

How to get the return value after executing the script?

Explorer ,
Nov 02, 2011 Nov 02, 2011

Hi All,

          I'm running a script form AEGP using AEGP_ExecuteScript(). I want the value(in my case a string) which is returned from the script.

AEGP_ExecuteScript ( AEGP_PluginID inPlugin_id,

const A_char* inScriptZ,

const A_Boolean platform_encodingB,

AEGP_MemHandle *outResultPH0,

AEGP_MemHandle *outErrStringPH0);

I tried passing a MemHandle to outResultPH0, but the values returned are junk.

Is it possible to get the return value from the script?

Thanks,

Dheeraj

TOPICS
SDK
1.3K
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
Community Expert ,
Nov 02, 2011 Nov 02, 2011
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
Explorer ,
Nov 03, 2011 Nov 03, 2011

Thanks shachar. I did that but the value returned is some invalid number. I will try again and check.

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
Contributor ,
Oct 22, 2021 Oct 22, 2021
LATEST
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