Professional Documents
Culture Documents
Comments may be included in the mapping files. They are indicated by a hash (#) character as the first
non-blank character on the line.
Suitable Mapping Table File specified in the mapping table is not found.
File not found
Not a suitable Mapping Table File The header may not be of the correct format.
- Is it empty? The header is incorrect.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 2 of 23
detailing packages. The mapping files will indicate a correlation between the profile in AVEVA E3D 2.1™ and
its equivalent in the other system, to which, or from which, data are to be transferred. It is your responsibility to
make sure that any geometrical modelling required in either system is suitably reproduced in the other. The
mapping files supplied are modifiable and extensible by you.
Country Code
America AME
Britain BRI
Canada CAN
Euronorm EUR
Germany GER
Japan JAP
If you want to include profiles or joints from another standard or country, you must add a new and unique
identifier.
The profile shape codes for the new AVEVA supplied catalogue are as follows:
1 I-shape (BEAM)
2 L-shape (ANG)
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 3 of 23
3 Z-shape
4 C shape (BSC)
5 FlatBar
6 Tube (TUBE)
7 Bar (TUBE)
8 RH-shape (BOX)
9 TC-Shape (BSC)
10 T-shape (TEE)
12
13 Cone
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 4 of 23
For example:
Where
PDMS profile name gives the Catalogue and Specification names of the profile used in PDMS.
BOCAD profile name is the name of the AVEVA Bocad Steel profile followed by design parameter numbers
prefixed by @ symbol
Standard Key word is the country code for the type of standard.
Shape Code is the profile number given by the table above.
If the profile name is not found earlier in the mapping file, the application will try to map the profile to the
PDMS profile finding the name that matches the prefix before the first @ in the name.
If a match is found, the order of the parameters will be used to set the corresponding design parameters in
PDMS.
Below is an extract of the mapping file for just parameterized profiles.
There are three formats for Profile mapping files, the first two formats may be space or comma separated.
And are indicated as such by setting the !!bocProfSep variable as !!bocSpaceSep or !!bocCommaSep.
The first has been described here, each line in the mapping file contains 4 fields - the AVEVA Catalogue™ or
specification profile name, the external profile name, the country code and the shape code. Interpretation of
the first field depends upon the !!bocProfMapRef variable as 'SPRE' or 'CATR'.
In this format, each line in the mapping file contains 5 fields - the AVEVA Catalogue™ profile name, - the
AVEVA specification profile name, the external profile name, the country code and the shape code. Which of
the AVEVA columns is picked also depends upon the !!SDNFProfMapRef variable. In order to distinguish this
file from the previous format, the header line has an additional "version" field.
For example:
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 5 of 23
AVEVA FRAMEWORKS 2
The third, and now preferred, format is the Block format, a space separated file that has been pre-processed
to facilitate more rapid parsing. Again, each record has 5 fields selectable according to the !!bocProfMapRef
variable. This file has a header with more fields describing the column sizes for the file.
For example
AVEVA FRAMEWORKS 5 19 19 16 3 3
This file type is indicated by setting the !!bocProfSep variable to be !!bocBlockSep, refer to AVEVA
ABSI/SDNF Mapping File Convertor for further information.
Profile is not in The profile is in the Profile Mapping File but is not in any
the standard one of the set of standards.
Profile is not the default The profile is in the Profile Mapping File and is in one of
the set of standards, but not the default standard.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 6 of 23
Goes to
AVEVA BOCAD 5 19 19 19 3 2
EU_CF_CHS101.6x2.0 EU-CF-CHS101.6x2.0 CHS101.6*2.0 EU 7
EU_CF_CHS101.6x2.5 EU-CF-CHS101.6x2.5 CHS101.6*2.5 EU 7
EU_CF_CHS101.6x3.0 EU-CF-CHS101.6x3.0 EU-CF-CHS101.6x3.0 EU 7
The converter does run stand-alone from the AVEVA E3D 2.1™ install folder, but it is also accessible from the
Control menus on the Export and Import main dialogs for both SDNF and ABSI interfaces.
The format of the file is as follows…
[PDMS Catref name, PDMS Specref name] [External profile name, country code, shape code]
For example:
EU_CF_CHS101.6x2.0 EU-CF-CHS101.6x2.0 CHS101.6*2.0 EU 7
The shape and country codes are internal to us to help us uniquely identify the profile. At translation time,
using a combination of these fields we can build a dictionary for profile mapping between PDMS/AVEVA E3D
2.1™ and Bocad, for example.
The Convertor
It is accessed from SDNF or ABSI in the Import group on the TOOLS tab.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 7 of 23
It can also be accessed if you set up a link to run the program from within the AVEVA E3D installation.
Operation
There are 4 main combinations of settings:
Case 1:
Source folder unchecked/ External folder unchecked
(user specified output file name - allows producing temporary or copy files)
Input source file and target file names. Transform source file -> external file
For example: Bocad-BS.csv -> externalFileName.map
Case 2:
Source folder unchecked/ External folder checked
(output file name derived from input file name)
Input source file and external folder names. Transform source file -> external file in target folder
For example: Bocad-BS.csv -> Bocad-BS.map in external folder
Case 3:
Source folder checked/ External folder unchecked
(merge all CSV files into a stated file)
Input source folder and external file names. Transform and merge all source files -> 1 big target file
For example: (Bocad-ASNZ.csv, Bocad-BS.csv, … Bocad-US.csv) -> externalFileName.map
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 8 of 23
Case 4:
Source folder checked/ External folder checked
(bulk processing of multiple CSV files)
Input source folder and external folder names. Transform all source files in source folder -> 1 external file per
source file in external folder
For example: Bocad-ASNZ.csv, Bocad-BS.csv, … Bocad-US.csv -> Bocad-ASNZ.map, Bocad-
BS.map, … Bocad-US.map
The latter 2 options enable you to build larger compound mapping files of various sets of standards. By
default, we issue a single file per standard. However, you are able to concatenate various standards into the
working set using the bulk options.
Small details
The CSV file separator can be ',' ';' or tab you have to tell the spreadsheet package what the field separator is
as the source file is opened.
The formulae can use either '{}' or '()'. Formulae also begin with '='. This is often an indicator for internal
formulae. In order to see the formulae without the system making any attempt to evaluate them, you will have
to turn this feature off, by showing the fields only.
The translator saves the previous configuration settings in the first place it can find out of the folders pointed
to by the environment variables "AVEVA_DESIGN_USER", "PDMSUSER", "TEMP".
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 9 of 23
The source CSV files are in a folder <target>_CSV, and the output mapping files are in a folder
<target_Maps>.
The system is configured to pick these up automatically using the BLOCKMAPS environment variable. If you
place them somewhere else on the file system, you will have to tell the interfaces where they are.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 10 of 23
Is translated to:
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 11 of 23
1 BEAM - I-shape
1 RSJ - I-shape
1 DBEA - I-shape
1 DINI - I-shape
1 JISI - I-shape
2 ANG - L-shape
2 LP - L-shape
3 ZEE - Z-shape
4 BSC - C-shape
4 DBSC - C-shape
4 CHAN - C-shape
4 DINU - C-shape
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 12 of 23
5 FB - Flat bar
6 RBAR - Bar
7 TUBE - Tube
8 BOX - RH-shape
9 BSC - TC-shape
10 TEE - T-shape
13 CONE - Cone
14 TR - Stair tread
21 BULB - Bulb
3 ZED - Z profile
4 CEE - C shape
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 13 of 23
10 TF - tapered flange T
AS Australia
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 14 of 23
BS British
CA Canada
CE Chile
DIN DIN
EU Europe
IS India
JA Japan
NZ New Zealand
RU Russia
SA South Africa
SW Sweden
US America
FP Fabricated profiles
CONC Concrete
MISC Miscellaneous
It must be noted that these lists are not fixed, if you wish to create a new country catalogue, then create a new
country abbreviation and then use it consistently. So too with the profile shapes, the lists indicated are related
to the supplied catalogues and gtypes.
If you create their own catalogues and GTYPEs, just set up a new meaning, the interface documentation also
describes the requirements of catalogues, plines and orientation mapping files that must be satisfied for a
successful translation.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 15 of 23
;EU_CF_CHS101.6x3.0;EU-CF-CHS101.6x3.0;EU-CF-CHS101.6x3.0;EU;7
In the example above, the ';' character is used as a field separator. The converter also allows ',' and the tab
character. To manage the file in a spreadsheet program, you will have to tell it which character to use.
There are 6 columns:
COMMENT If the field in this column begins with a '#' the whole
record is ignored. After conversion, a .map.csv file is
produced which is re-convertible, but which may contain
error messages in this column.
The top line of the file must contain these headings, or precisely 6 fields which are taken to be column names.
By using a = in front of the external profile name, the name will be interpreted as a formula that defines value
substitution. This means that the formula will be interpreted by replacing the {n} by the n'th group of number of
the name contained in second column. Up to 9 substitutions are allowed. The characters that are considered
as a number are: 0123456789 and '-' and '/'. The characters '-' and '/' should be enclosed by at least one digit
on each side to be consider as part of a number group.
For example:
EPPKORE/508~D12.7 =TUBE{1}*{2}
EPPKORE/L45x45x4x4 =L{1}*{3}
EPPKORE/L50x30x3x3 =L{1}*{2}*{3}
EPPKORE/H496x199x9x14 =JPH{1}*{2}*{3}*{4}
EPPAISC/HSS4-1/2x4-1/2x1/8 =USHSS{1}*{2}*{3}
EPPAISC/14.000~D.625 =TUBE{1}"*{2}"
The new csv file will have the formulas interpreted, in the example:
EPPKORE/508~D12.7 TUBE508*12.7
EPPKORE/L45x45x4x4 L45*4
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 16 of 23
EPPKORE/L50x30x3x3 L50*30*3
EPPKORE/H496x199x9x14 JPH496*199*9*14
EPPAISC/HSS4-1/2x4-1/2x1/8 JSHSS4-1/2*4-1/2*1/8
EPPAISC/14.000~D.625 TUBE14.000"*.625"
The important file to note is the shapes.txt file, this is a file that links the shape to the file tables in the
standard folders below. Below is a sample of the shapes.txt file.
This indicates, for example, that files C.txt (line 7) are related to the shape code 4, which you will see above
refers to C shapes. The profile tables related to the external package may then be sorted into folders named
according to the standard to which they apply.
This will assist in housekeeping, as this is just a sample data set, the C.txt contains just 1 entry, UNP220. The
interface now has enough information to perform the conversion.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 17 of 23
No match for material The material is not in the Material Mapping File.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 18 of 23
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 19 of 23
-- Use default material
!material = !defaultMaterial
endif
endif
-- Return string and exit
label /Finished
$!start
return !material
endfunction
The above example assumes that the material information for GENSECs resides on the catalogue component
in the UDA :MATERIAL. If, for any reason, a material cannot be identified, a default value of 'St 37-2' is
assigned.
The application assumes, by default, that this file exists under the above name in a folder below the %
PMLLIB% search path, and that the starting point for database navigation is the current element under
consideration, that is a Section, a GENSEC or Panel. For details of how you can configure the system to use
a material macro with a name of your choice, refer to User-definable Material Macro for further information.
Note: In writing your own macro, you must handle all errors encountered so that the macro will always safely
return a valid PML string, whatever it may be.
Also, that materials for Panels must also be determined using this macro.
Regarding the naming of this macro, refer to User-definable Material Macro for further information.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 20 of 23
"Steel, carbon","Carbon Steel"
"Steel, chrome","Chrome Steel"
"Steel, Ni-chrome","Ni Steel"
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 21 of 23
Mirrored Profiles
In the base product it is possible to set a mirror flag which implies that the profile is to be mirrored about the
local Y axis, while keeping all other geometric attributes unchanged. Also you might wish to define a new
arrangement of profile in the catalogue that would need mirroring before being written in the ABS file using the
Orientation Mapping File. Under normal circumstances the ABS file would simply transfer a mirror flag,
indicating what is required and how to interpret the geometric data.
Unfortunately, AVEVA Bocad Steel cannot handle mirroring, in any form. Therefore the ABSI interface has to
handle all this internally before export, and after import. However, it is impossible to completely undo the
transformations that have been performed on an element for export when the interface is re-importing the
same element. For example: the ends might have been swapped round, or the end connectivity might be
changed. In these situations the Compare/Merge might highlight a changed element even though it appears
to occupy exactly the same location.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 22 of 23
This Unicode description file may be customised for each target system, in the same way as the other
mapping tables. This will contain:
• An indication of the encoding to be used for the file
• Unicode UTF-8 with a Byte Order Mark (BOM):
ENCODING:UTF8BOM
• Unicode UTF-8 without BOM:
ENCODING:UTF8noBOM
• Force to Default encoding:
ENCODING:DEFAULT
• Force to ASCII:
ENCODING:ASCII
• A set of string substitutions to be used whenever a quoted-string is written to the file.
• As potentially any character can be used in the string, first non-space character of the line is used as
a delimiter for that line
• Only complete strings would be substituted
• Comment lines are indicated by '#'
• not every string needs to be in the dictionary - others would be passed through without error (but
would trigger a warning if characters were lost in the encoding)
So a dictionary for export might look like:
You are not forced to prepare one of these files: the system will cope if one does not exist. It would just mean
that the strings would not be translated and you would have to take his chance with the target package.
Further, the file can be empty, but if there are any strings requiring description, there must be the ENCODING:
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019
External Mapping Files Page 23 of 23
1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
https://help.aveva.com/AVEVA_Everything3D/2.1.0.22/BOCAD/BOCAD4.3.13.html 16/12/2019