For more advanced automation, you can use the EPLAN Engineering Configuration (EEC) to generate these files via C# scripts.
: Window or symbol macros ( .ema , .ems ) used for schematic representation. eplan edz files 2021