Add Data to the Mapping File
- Last UpdatedOct 26, 2023
- 2 minute read
Data can be added to the mapping file. It is assumed that the mapping file is a new file.
Add the records after the "USERTABLES" keyword to describe the two USER PROVIDED TABLEs:
USERTABLES
TABLE 1 D:\Staad\map1.txt
TABLE 2 D:\Staad\map2.txt
Add the "MEMBER PROPERTY" keyword and add the records for the profiles in the two referenced files.
-
D:\Staad\map1.txt describes the H sections. The AVEVA E3D Design specification /DESPAR-SPEC/Beam_with_design_parameters is used to represent the profile in AVEVA E3D Design.
-
D:\Staad\map1.txt contains the name of the H sections, for example, "H1800X400X30X40". The naming rule is H<Height>X<Width>X<int(d3)>X<int(d4)>.
-
For the "H" profile in the USER PROVIDED TABLE, the 2nd number is the depth of the profile, the 4th number is width, the 3rd number is the web thickness and the 5th number is the flange thickness of the profile.
In the specification /DESPAR-SPEC/Beam_with_design_parameters, d1 is the depth of the profile (d1 is the first design parameter of the GENSEC), d2 is the width, d3 is the web thickness and d4 is the flange thickness. The profile can be named "H<int(d1)>X<int(d2)>X<int(d3)>X<int(d4)>" (the int() function is added the to make sure the parameters are in the name is an integer).
The first six record columns are defined in the mapping file:
UPTABLE 1 H<int(d1)>X<int(d2)>X<int(d3)>X<int(d4)> , /DESPAR-SPEC/Beam_with_design_parameters,d1 d2 d3 d4 d5 d6 d7 d8,0 <0.001*d1> <0.001*d3> <0.001*d2> <0.001*d4>,
-
Column 5 and column 6 can be set according to the methods Column 5 and 6: Profile Angle. Column 7 can be set according to the method Column 7: Mirror Flag. Column 8 can be set according to the method Column 8: Additional Parameters for Importing.
The final line of the H profiles is defined:
UPTABLE 1 H<int(d1)>X<int(d2)>X<int(d3)>X<int(d4)> , /DESPAR-SPEC/Beam_with_design_parameters,d1 d2 d3 d4 d5 d6 d7 d8,0 <0.001*d1> <0.001*d3> <0.001*d2> <0.001*d4> ,0,-90,0,d8=d1-d3*2;
Set the profile of the PIPE section and the profiles after the keyword "MEMBER PROPERTY" are defined:
UPTABLE 2 <int(d1)>_OD_<int(d2)>,/DESPAR-SPEC/Tube_with_design_parameters,d1 d2 d3,<0.001*d1> <0.001*d1 - 0.001*d2*2> <0.001*d3>,0,-90
Check for standard profiles in the STD file and add their mapping records.
The profile "TABLE ST UC305X305X240" is used in the STD file. Add this profile to the mapping file:
MEMBER PROPERTY BRITISH
TABLE ST UC305X305X240 ,/BS-UC305x305x240 ,,,0,-90
The mapping file is completed:
USERTABLES
TABLE 1 D:\Staad\map1.txt
TABLE 2 D:\Staad\map2.txt
MEMBER PROPERTY
UPTABLE 1 H<int(d1)>X<int(d2)>X<int(d3)>X<int(d4)> , /DESPAR-SPEC/Beam_with_design_parameters,d1 d2 d3 d4 d5 d6 d7 d8,0 <0.001*d1> <0.001*d3> <0.001*d2> <0.001*d4> ,0,-90,0,d8=d1-d3*2;
UPTABLE 2 <int(d1)>_OD_<int(d2)>,/DESPAR-SPEC/Tube_with_design_parameters,d1 d2 d3,<0.001*d1> <0.001*d1 .001*d2*2> <0.001*d3>,0,-90
MEMBER PROPERTY BRITISH
TABLE ST UC305X305X240 ,/BS-UC305x305x240 ,,,0,-90