PARTlinkManager -> Extras menu -> Configure ERP environment -> Configure dialog box -> Standard designation [Standard name] tab page | Standard designation (short) [Standard name (short)] | Parts list designation [BOM name].
![]() | Important |
---|---|
File names for the exported CAD document should be absolutely unique. The entire CAD administration, including definition of the naming rule, is carried out by default via the CAD configuration files under Detailed information on CAD administration in general can be found at Chapter 2, PARTsolutions - CAD Integration - Administration . Detailed information on the creation of the CAD file name in particular can be found at Section 2.2.7, “Set file name ("FileName" key) and pool path ("poolpath" key) ”. By default, NO entries should be made on the Standard designation [Standard name], Standard designation (short) [Standard name (short)] and Parts list designation [BOM name] tab pages, or only in consultation with Consulting! By default, in PARTdataManager the standard [Standard name] standard designation is then displayed in the 3D view, the standard parts list [BOM name] designation is displayed above the table and the standard [BOM name] parts list designation is also displayed in the parts list [Bill of material] docking window. The setting under Component designation: 3D view -> Standard designation [Standard name] [NB] | Table -> Parts list designation [BOM name] [LINA ] | Docking window "Parts list [Bill of material] " -> "Parts list designation [BOM name] " [LINA ]
|
If the parts list designation [BOM name] is changed in the Configure -> Parts list designation [BOM name] tab page dialog box (plinkcommon.cfg
-> Block [PARTdataManager]
-> Key LINA
) dialog box, the change in the PARTdataManager only has an effect in the BOM [Bill of material] docking window.
The parts list designation [BOM name] displayed above the table can only be changed via the configuration file psolopt.cfg
.
[SETTINGSTABLE] TABDESCRIPTION=$LINA. additional text
If no entry is made on the Standard designation [Standard name] tab page, the name is created with the standard [Standard name] standard designation [NB ].
NB='$NB.'
Example 2: A condition is used.
If no ERP number is available, the NB (standard designation [Standard name] ) is created by default, otherwise the ERP number is used.
Through the ERP_PDM_NUMBER uniqueness is ensured. The standard name provides a meaningful part in the file name.
IF ('$ERP_PDM_NUMBER.'.EQ.'')THEN NB = '$NB.' ELSE NB = '$ERP_PDM_NUMBER._$NB' ENDIF
If there are different strength, surfaces, etc. available for parts which are identic regarding their geometry then this can be considered in the naming rule.
E.g.: Creation of the file name by NB plus material.
NB=('$NB._$MAT_NAME.')
If the options in the entry field do not suffice, you can generate a reference to a vbs script and work with complex conditions.
The external script is called using NB=TSCRIPT('nb.ruletable','$CALCED_ROW.','$NB.').
The entries are made under standard designation [Standard name], standard designation (short) [Standard name (short)] or parts list designation [BOM name].
An exemplary script "nb.ruletable" could look like the following. The called function's name is "ruletable" in this example.
function ruletable(table,calced_row,orgNB) result="" mmrow=cint(calced_row) if mmrow >= 0 then tmp=table.NN normbezeichnung=table.rows.item(mmrow).resolvevariables("$NB.",0) '0.************************************************ pos=Instr(1,normbezeichnung,"DIN") if pos = 1 then result=tmp+"_"+table.rows.item(mmrow).resolvevariables("$NENN.$MAT_NAME.",0) end if '1.************************************************ if tmp="DIN 912" then result="ISO4762abcd"+"_"+table.rows.item(mmrow).resolvevariables ("$NENN.$MAT_NAME.",0) end if '2.************************************************ if tmp="DIN 2448" then result="DIN 2448"+"_"+table.rows.item(mmrow).resolvevariables ("$D._$S._$L.___$MAT_NAME.",0) end if '3.************************************************ if tmp="DIN 2576" then result=tmp+"_"+table.rows.item(mmrow).resolvevariables ("$NENN._$D1.$MAT_NAME.",0) end if '4.************************************************ pos=Instr(1,normbezeichnung,"FAG") if pos >= 1 then result=table.rows.item(mmrow).resolvevariables("$NB.",0) end if '5.************************************************ pos=Instr(1,normbezeichnung,"EO EL L-Verschraubung mit Dichtkegel") if pos >= 1 then result=table.rows.item(mmrow).resolvevariables("$ERP_PDM_NUMBER.",0)+ "-EL"+table.rows.item(mmrow).resolvevariables("$ROHR.$S.",0) end if '6.************************************************ if tmp="DIN 7993-B 2" then result=table.rows.item(mmrow).resolvevariables("$ERP_PDM_NUMBER.",0)+ "-A"+table.rows.item(mmrow).resolvevariables("$D1.",0)+"---DIN7993" end if ' ************************************************* if result="" then result=orgNB end if end if ruletable=result end function
If the NB is part of the naming rule the NB can be adjusted according to projects.
See Section 4.24.8.2.7.1, “Change standard descriptions according to project ”.
To define the standard name [Standard name] and thus the CAD file name, you can use IF conditions, Fortran syntax, constants and ERP variables (call with '$Variablenname.') to form the name:
(both conditions - right and left of .AND. - must be fulfilled) | |
(one of the two conditions - to the right or left of .OR. - must be fulfilled) | |