# Plot Management

## How to Configure default Parameters

A number of default parameters must be configured in order to ensure the proper operation of the Plot Management module. Select System > Plot management > Default data to open the Default data mask.

| If the Plot server exchange directory resides on the client computer, select System > Plot management > Output path configuration to open the Plot system configuration mask. Ensure that the corresponding directory on the client computer is specified and that the Client checkbox is enabled in the Default data mask!

Define output Paths

Field | Description
Item state | IDs of all item status levels that can be plotted.
Document state | IDs of all document status levels that can be plotted.
Project state | IDs of all project status levels that can be plotted.
Batch Plotter | Name of the output device associated with the CAD batch plot function of the CAD interface.
Plot order form | Name of the plot order form. Mask changes can be entered here without adapting menus or software.
Document form | Name of the document mask. Mask changes can be entered here without adapting menus or software.
Temporary directory (Server) | Temporary directory on the server. This field must contain a file path if the Client checkbox is enabled! The path must end wit a slash or backslash (C:\temp\).
Plotter menu | Number of columns in the plotter selection menu. Available parameter values: 0: one 1: three
Number Variant | Name of the number variant to create the PAC-IDDefault: EDB-PAC.
Batch process | Enabled: The plot job status remains at CREATE after creation of the plot job. Select Execute plot job to change the status to NEW. A running batch process lists all active plot jobs with the status NEW in regular intervals.
Poll Time | Time interval for batch process status update.
Plot protocol | Enabled: A plot log is created. Disabled: The system does not maintain a plot log file.
Client | Enabled: client-side checkout. Disabled: server-side checkout.
Plotter Selection | Display plotter selection menu for direct plot operation Available parameter values: TRUE: Show selection menu. FALSE: Use default plot device.
n*Tree | Enabled: n*Tree functionality is used for structure explosion. All XREL fields are ignored. Disabled: n*Tree functionality not used for structure explosion.
XREL CLN | The folder structure is updated after the structure explosion. Available parameter values: TRUE: Update: multiple identical document relations are reduced to only one document link. FALSE: Do not update.
XREL EXP Project | Explosion mode for project structures.
XREL EXP Document | Explosion mode for document structures.
XREL EXP Item | Explosion mode for item structures.

### Structure Explosion of the XREL_EXP Folder

The list of available structure explosion parameters for the XREL_EXP folder includes EXPAND, EXTRACT, RESOLVE, and EXPAND_AND_DELETE:

EXPAND (single-level structure explosion)
The Single-level structure explosion function executes a single-level, multi-dimensional (i.e. spanning several modules) structure explosion for a single element. Both, the elements assigned to the level below the original element and the original element itself are displayed.

EXTRACT (single-level resolution)
The Single-level resolution function executes a single-level, multi-dimensional (i.e. spanning several modules) structure explosion for a single element. The elements assigned to the level below the original element are displayed. The original element itself is not displayed.

RESOLVE (multi-level structure explosion)
The Multi-level structure explosion function executes a multiple level/multi-dimensional structure explosion for a single element. Beginning with the selected element, all relationships with other elements are traced throughout all modules. The original element and its subordinate elements are displayed in a tree structure.

EXPAND_AND_DELETE (single-level explosion and deletion)
The Expand and Delete function executes a single-level, multi-dimensional (i.e. spanning all modules) structure explosion for a single element. The user is prompted to confirm the deletion of the original element from the list unless virtual mode is enabled.

Objects with non-plotable status are not plotted in a structure if the n*tree functionality is used.

### n*Tree-based structure explosion

The n*Tree-based structure explosion leaves all parent relations intact for use in other functions (item number, project number in stamps, etc.).
It is possible to integrate custom document validation processes. To end this, it is necessary to call a customizing function at each node and a PreInsert and PostInsert function at the Document node. Using a Return code, the PreInsert function can define whether or not a document is added to the job.
This is done using the CDD_CUSTOMIZE compound. The compound provides four procedures whose names must not be modified.

Procedure | Description
Custo_PreDocumentStr | DocumentTree Customer pre-action for various functions
Custo_PostDocumentStr | DocumentTree Customer post-action for various functions
Custo_ArticleStr | DocumentTree Customer pre-action for various functions
Custo_ProjectStr | ProjectTree Customer pre-action for various functions