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

How can I make a plugin “save a new file”?

New Here ,
Sep 02, 2025 Sep 02, 2025

I’m a beginner, and I want my plugin’s UI button to export a CSV file and write content into it when clicked.
But from what I see, the official SDK doesn’t seem to provide similar examples, and I have no idea how to implement this.
It’s like in AE scripting with .saveDlg() → .open() → .write() → .close().
I’d like to see an example if possible.

 

static PF_Err ParamsSetup(PF_InData* in_data, PF_OutData* out_data, PF_ParamDef* params[], PF_LayerDef* output) {
	PF_ParamDef	def;

	......
	AEFX_CLR_STRUCT(def);
	PF_ADD_BUTTON("TTT", "ttt", NULL, NULL, ID_BUTTON);

	......
	out_data->num_params = ID_NUM_PARAMS;

	return PF_Err_NONE;
}

 

TOPICS
How to , SDK , User interface or workspaces
105
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

correct answers 1 Correct answer

Community Expert , Sep 07, 2025 Sep 07, 2025

the sdk only deals with importing files into an AE project or rendering out to custom file types.

if you wish to save some file with some arbitrary data in it at a click of a button, you just do it directly using fopen/fwrite/fclose, as you would in javascript.

Translate
Community Expert ,
Sep 07, 2025 Sep 07, 2025
LATEST

the sdk only deals with importing files into an AE project or rendering out to custom file types.

if you wish to save some file with some arbitrary data in it at a click of a button, you just do it directly using fopen/fwrite/fclose, as you would in javascript.

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