An EDZ file contains all the specifications that are required to generate one or more macros from them in P8.
The generation is carried out with the command ECAD.GenerateEdzForEadProjectCommand.
Prerequisites for the generation of the EDZ file are:
- A part.xml file has to exist. This can be generated by the text discipline if is not yet provided by other subsystems. The file is to be specified as an argument partXmlFilePath.
- An image file for the part has to exist. The file is to be specified as an argument pictureFilepath.
- A C# script has to exist whose absolute file name is specified by the model variable Name of the parameter for a C# script and whose arguments are specified by the model variable Name of the parameter for C# script arguments.
- The model variables under EPLAN Data Zip (.edz) generation are to be taken into consideration.
More:
ECAD.GenerateEdzForEcadProjectCommand