Export settings configuration

The Weld Manager export settings consist of the keywords listed below. Each keywords must be present in one of the two configuration files as described below. The keywords can be added manually to the configuration files, or defined with the corresponding settings in the System Management application.

Keyword Explanation Configuration file System Management setting
outfile File name for the exported file. The usual keywords, including those found in Logistics > Logistical Field Options, can be used. See Logistical Fields Options. %ncgnorms%\cvar\weld\weldmgr.cfg Output Filename 1
outformat

Output format for the export. The following values are supported:

%ncgnorms%\cvar\weld\weldmgr.cfg Output Format 1
outpath

Output directory for the export file. The usual keywords, including those found in Logistics > Logistical Field Options, can be used. See Logistical Fields Options.

Note that the path must be enclosed in double quotes when added manually to the configuration file.

%ncgnorms%\lvar\weld\weldmgrlocals.cfg

Output Directory 1

processsinglewelds

This keyword can be added to the weld configuration file with the value of no to prevent Single status welds from appearing in drawings, item information and weld reports. This keyword must be added manually to the weld configuration file. See Single and matched welds for more information.

%ncgnorms%\cvar\weld\weldmgr.cfg

No associated setting

weldgroup Specifies which weld group data fields to include in weld reports. %ncgnorms%\cvar\weld\weldmgr.cfg Weld Group 1
weldname Specifies the the weld name. The usual general keywords can be used along with the special keywords weld_method and unq. The weld_method keyword is replaced by the name of the weld method in the output. The keyword unq is replaced by a number generated by the system, which is unique within the blocks. All of these keywords can be manipulated using the formatting feature, also known as the Field Format Editor in System Management Tools > Field Format Editor. %ncgnorms%\cvar\weld\weldmgr.cfg Weld Name Definition 2
weldpartname Specifies how a part should be named. The usual keywords, including those found in Logistics > Logistical Field Options, can be used. See Logistical Fields Options. %ncgnorms%\cvar\weld\weldmgr.cfg Weld Part Name Definition 2
xlstemplate Name of an Excel file to be used as a template for the Excel output, including the file path. %ncgnorms%\lvar\weld\weldmgrlocals.cfg Excel Template 1

1) In settings group Import/Export > Weld Manager.

2) In settings group Construction > Welds&Bevels > Settings.

See also Variables (keywords) in weld configuration files.

Export type Wiscon

This output consists of a customized XML file accompanied by a STEP file.

Export type Excel

When the output format is set to be an Excel file, the export result for Weld Manager is an Excel file which contains all the weld lines within the block. The table can be customized by editing the template file (see below).

The output format can be set with the outformat keyword in the weld\weldmgr.cfg file in the current norms, or with the Output Format setting in System Management > Import/Export > Weld Manager.

Excel template file

The Excel file specified by the xlstemplate keyword in the %ncgnorms%\lvar\weld\weldmgrlocals.cfg file in the current norms is used as the template for the exported Excel file. It defines both the header part and the content of the columns below the header in the Excel report. The template file can also be specified with the Excel Template setting in System Management > Import/Export > Weld Manager.

Important: The template file must be of type XLS, not XLSX.

The template file consists of the header part containing general information, and the last row containing the data for each weld line.

Header part

All of the cells in the template, except for those on the last row, are considered to be part of the header.

  • Cells in the header section that do not have a comment are copied as such to the header of the exported weld report XLSX file.

  • You can use general keywords like projectname, object and currentdate in the header section. The system uses the value of those keywords in the exported weld report. The template's cell formatting is used in the report. Therefore the cells in the template should not be blank but contain example data in the proper intended format like Text, Number or Date.

Last row

The last row in the template defines the content of the cells in the export. Cell contents are resolved values of the keywords contained in the cell comments.

Note: The template's cell formatting is used in the report. Therefore the cells in the template should not be blank but contain example data in the intended format like text, number or date.

All logistical fields in the logistical database, including manually added logistical fields, can be used as keywords in the comments. Because a weld line connects two parts, you should add a postfix _1 or _2 to the logistical fields in the comments to indicate whether the keyword is for a part that has the weld, or a part that gets welded to the other part.

  • Postfix _1 indicates that the variable is for a part that the weld belongs to (first part).

  • Postfix _2 indicates that the variable is for a part that gets connected to the first part (second part).

Keywords

The system recognizes the following additional keywords:

Keywords can be formatted and combined with strings for even more customizable output.

Note: The existing weld databases do not contain this keyword data. Using them leads to to empty/zero values. Recreating models will add the new keywords to the database.

Template example

The following simplified example illustrates the usage of keywords in the template file for an Excel format export.

Excel template, comments (notes) shown:

The texts in row 5, except cell C5, can be changed to be any desired text string, for example all could be changed to a more generic string. The point is that each cell in this last row must have content that indicates which type of data the cell contains. Therefore cell C5 for the weld length contains a number (use the desired number of decimal places, 2 in this case).

This template will result in the following output: