This functionality is only available for certain module packages.

You are here: EEC > ECAD > Generating project documents

Generating project documents

The configured ECAD structure can be opened through an action for generating a wiring diagram in the ECAD system. Depending on the configuration of actions in the model, this can be done via the context menu.

By means of a self-created SequenceSelectionActions an entry can be used in the popup menu of the wiring diagram object to open the wiring diagram in EPLAN Electric P8:

The open project in EPLAN Electric P8 looks as follows:

Alternatively, the action Open Wiring Diagram can be executed also for one page or fragment.

In addition, it is possible to execute the action Open Pages to open several selected pages (see the screenshot below).

EEC enters in each created page automatically information saying that it was created by EEC, provided that this feature is available in the P8 version used.

By entering this property, EEC can differentiate between its own created pages and those created externally. If the action Generate Wiring Diagram is started again, only the automatically created pages of the wiring diagram will be modified and / or overwritten. Externally created or modified pages will be overwritten only if requested.

Comment:

If a switch is made to PB20 or higher from an EEC version prior to PB20, with the workspace being preserved, the following cases must be noted when creating again:

All pages of the schematic are created as new, and manual changes are lost. The value of the property Automatically created of all pages is set to EEC.

The page is created as new, and manual changes are lost. The value of the property Automatically created is set to EEC.

All marked pages of the schematic are recreated, manual changes are lost. The value of the property Automatically created of all selected pages is set to EEC.

The commands come with different signatures, which allows them to be combined with each other easily.

Application 1: Action create structure, create wiring diagram and open

The object selected for the action is MechatronicRoot.

All three commands have a signature that fits the object MechatronicRoot.

The associated action, SequenceSelectionAction, now has the following method:

Application 2: Action create structure and create wiring diagram

The object selected for the action is MechatronicRoot.

Both commands have a signature that fits the object MechatronicRoot.

If the project is already loaded in an instance of Electric P8, the project only needs to be updated (select project, press the [F5] key) to represent the changes in the instance. To do this, Electric P8 must be configured in such a way that projects are not opened exclusively.

Application 3: Action create wire diagram

Depending on the object selected for the action, the command exhibits varying behavior:

If the object selected for the action is MechatronicRoot or EcadRoot, the command will create the entire wiring diagram.

If the object selected for the action is a list, the command will expect pages and / or fragments as elements of the list. The command deletes all pages from the wiring diagram, and then creates the selected pages as new again.

If the project is already loaded in an instance of Electric P8, the project only needs to be updated (select project, press the [F5] key) to represent the changes in the instance. To do this, Electric P8 must be configured in such a way that projects are not opened exclusively.

Application 4: Action update wire diagram

The object selected for the action is List. The command expects pages and / or fragments as elements of the list. It creates as new the pages and / or the pages with the selected fragments. Other pages remain unchanged.

If the project is already loaded in an instance of Electric P8, the project only needs to be updated (select project, press the [F5] key) to represent the changes in the instance. To do this, Electric P8 must be configured in such a way that projects are not opened exclusively.

Application 5: Action open wiring diagram

The command opens an already created wiring diagram using the Electric P8 version stated in EEC.

It does not matter which object (page, fragment, schematic, EcadRoot, etc.) has been selected.

The command reports an error if the project has not been created yet.

Application 6: Creating an EDZ file for ECAD project

An EDZ file is created, which can be imported by EPLAN Electric P8 by means of an Add On (see Description of EDZ format in the EPLAN Electric P8 help). Since EPLAN Electric P8 is not required for the production of EDZ file, specifying ECAD preferences is not necessary (see EPLAN Electric P8).

A root object must be selected for this action. All project components of the WiringDiagram type are affected. An EDZ file is created and its name is returned as the result.

More: