using System.Windows.Forms; using Eplan.EplApi.Scripting; using Eplan.EplApi.ApplicationFramework; using Eplan.EplApi.Base; using System; using System.IO; using System.IO.Compression; public class TEST_PROJECT { [Start] public void Function() { //dxf-dwg Export #region DXF-Export + Zip-File CommandLineInterpreter oCLI1 = new CommandLineInterpreter(); ActionCallingContext dxfContext = new ActionCallingContext(); dxfContext.AddParameter("TYPE", "DXFDWGPROJECTSCHEME"); dxfContext.AddParameter("EXPORTSCHEME", "DXF_CustomerDocumentary-Filter"); oCLI1.Execute("export", dxfContext); string startPath = @"Pfad"; string zipPath = @"Pfad\Ausgabe.zip"; ZipFile.CreateFromDirectory(startPath, zipPath); #endregion } }