AVEVA PDMS/MARINE Step-By-Step Tutorial
NEW USER-DEFINED ATTA IN MDS CATALOGUE Add new ATTA to the MDS cat alogue, e.g.: Shoe for CS Pipe
Each component of the MDS c atalogue has its unique code that will be used as designation of the support. For example, use code AT132*.
* It is recommended to choose that code from the list of existing values – see file Mdsparatab.pmldat in PMLLIB. If non-standard code is used, pml files must be edited.
New catalogue component - create new catalogue /MDS-RUS-Supports - create new section - /MDS-RUS-AT - create new category of components Create a category with name /ATTA-AT132, AT132 – code for the created support. This code can be used as a part of names for all related elements for easier navigation in the catalogue hierarchy. Set the following values of UDAs for the created category: :MDSActive true :MDSGuidable true :MDSRpad false :MDSSchd unset :MDSSetHei true :MDSSummary true :MDSSuppFunc unset :MDSTrun false :MDSType SHOE Create components (SCOM) for different nominal bores.
AVEVA PDMS/MARINE Step-By-Step Tutorial
Type for the created components (Generic Type) is ATTA. Format of components names is the following:
/-.< nom.bore, mm> For example, for the component with bore 100 the name will be: /AT132-4.100 . Mandatory parameters for components: PARAM 1 – nominal bore, PARAM 2 – outside bore, PARAM 3 – connection type (set ATT). Set the following values of UDAs for the created components: :MDSCp1 AT132-4 :MDSCp2 unset :MDSCp3 Pipe shoe :MDSMaxHeight 0 :MDSMinHeight 0 :MDSSprWei 0 Create PPoint Set (PTSE) and Geometry Set (GMSE) using D esign-parameters in expressions. Ppoints P3 and P9 must exist for the components. Values of their attributes: PPoint
Pskey
Conn Type
Bore
Pvisi
Axis
3
NULL
NUL
PARA1
all
-Z
9
NULL
NUL
0
all
-Z
Design-parameters are stored in the Data Set – DTSE (/AT132-DATA in this example). This Data Set includes DATA-elements for all support parameters (necessary for geometry and PPoints) and special DATA-elements, which are standard for all supports:
-DESC – code of the support -RNAM –Replacement code -WEIG – support weight -MATR – material -CODE – designation at drawings (see more details below) -PA1 – parameter 1 – nominal bore -PA2 – parameter 2 – outside bore -PA3 – parameter 3 – connection type Standard DATA-elements can be copied from the existing DTSE, for example, from /AT01-DATA. Create a Detail text (SDTE- element). Include the support code in the SDTE name: /SDTE-AT132. Set values for attributes of the created Detail text:
Skey 01HG Stext ( VTEXT ( !!DESCAT132 ) + ' ' + ATTRIB PROP CODE + ' ' + ATTRIB PROP MATR)
AVEVA PDMS/MARINE Step-By-Step Tutorial
!!DESCAT132 – variable with description of the support (th e value from the 3rd column in the file DES-SUPP-DEFS); CODE – DATA-element with Dkey = CODE. That is complex e xpression, which is stored in the attribute Pproperty and consists of the following parts: TRIM ( DIST ( NOMBORE ( false , ATTRIB CPAR[1 ] ) , false , false , true , 4 , false ) ) the support nominal bore in inches, VTEXT ( !!CODEAT132 ) - part of the expression; !!CODEAT132 – Replacement code which user can see in Design, its value is set in the 2nd column in the file DES-SUPPDEFS; TRIM ( DIST ( REAL ( STR ( NINT ( ATTRIB DESP[5 ] ) / VVAL ( !!MPU ) ) ) , false , false , true , 16 , false ) ) – the support nominal bore in mm; TRIM ( DIST ( REAL ( STR ( NINT ( ATTRIB DESP[2 ] ) / VVAL ( !!MPU ) ) ) , false , false , true , 16 , false ) ) - value of Design-parameter 2; MATR – DATA-element with Dkey = MATR and Pproperty ( ATTRIB DESC OF :MDSMatRef ), here :MDSMatref is reference to the support material.
Add user defined support to the MDS specification Navigate to the specification /MDS in spec world /MDS-Standard-Support-Specifications. Specification components for supports are stored in the SELE -element called /MDS/SELE/ATTA. This SELE includes separate SELEs for all values of nominal bores in mm. Find the necessary one (for example, SELE /MDS/SELE/ATTA/150). Create new specification component (SPCO) at the level of the chosen SELE, set references for the created SPCO. The following commands can be used for that: NEW SPCO /MDS/AT132-150 Tanswer AT132 Catref /AT132-6.150 Detref /SDTE-AT132
Create user defined material Materials in the Propcon database are stored as SOLI-elements. SOLI-elements used in MDS application have special UDAs set: :MDSMatCode – material code, which value is stored in the file DES-SUPP-MATR – for more details see below (e.g., :MDSMatCode CS); :MDSMatGroup – material group (e.g., :MDSMatGroup CS) :MDSMts – set value ANCILL for using the material in MDS application. Reference to the necessary material is set in the attribute :MDSMatRef of the support in Design module. For example, :MDSMatRef /CARBON/STEEL. This value is set when the ATTA-element is created – name of the default material is stored in the file DES-SUPP-PARS:
AVEVA PDMS/MARINE Step-By-Step Tutorial
Description of the material that user can see is set in the file DES-SUPP-MATR:
Plot-file for supports A plot-file can be set for the user defined support – this plot user can see in the support modification form by clicking ‘View Standard’ button.
Plot-files have extension *.plt. These files are stored in the folder set in the variable MDSPLOTS in the evars.bat in the format:
SET MDSPLOTS=< path to the folder with *.plt-files>
AVEVA PDMS/MARINE Step-By-Step Tutorial
For example: SET MDSPLOTS=D:\Projects\MDR\PLOTS D:\AVEVA\MDS11.6.SP4\PDMSUI\DES\MDS\PLOT Each plt-file is related to the separate type of supports. The name of plt-file has the following format:
MDS-Standards--.plt E.g.: MDS-Standards-AT132-1.plt
Edit of the MDS defaults To let users create the new support in Design, this support should be described in the default setting files. 1.
The support code and its description should be set in the file DES-SUPP-DEFS:
2.
Defaults for the support are set in the file DES-SUPP-PARS: