Our 3D CAD supplier models have been moved to 3Dfindit.com, the new visual search engine for 3D CAD, CAE & BIM models.
You can log in there with your existing account of this site.
The content remains free of charge.
PARTlinkManager -> Extras menu -> Configure ERP environment -> dialog box Configure -> tabbed page Standard name | Standard name (short) | BOM name.
Important | |
---|---|
Files names for the exported CAD document should be absolutely unique. The entire CAD
administration, including definition of name rule, is performed via CAD
configuration files under Detailed information on CAD administration in general can be found under Chapter 2, PARTsolutions - CAD Integration - Administration. Detailed information on creating the file name in particular can be found under Section 2.2.2, “Set file name ("FileName" key) and pool path ("poolpath" key) ”. By default, on the tabbed pages Standard name, Standard name (short) and BOM name NO entries should be performed or only in conjunction with Consulting! By default, in PARTdataManager, then in the 3D view, the default Standard name is displayed, the default BOM name over the table and in the docking window Bill of material the default BOM name as well. The export
settings under Part designation: 3D view -> Standard name [NB] | table -> BOM name [LINA] | docking window "Bill of material" -> "BOM name" [LINA]
|
If the BOM name, in the dialog box Configure -> tabbed page BOM name (plinkcommon.cfg
-> block
[PARTdataManager]
-> key LINA
) is
changed, then this change only affects the docking window Bill of material in the PARTdataManager.
The BOM name displayed over the table can only be
changed via configuration file psolopt.cfg
.
[SETTINGSTABLE] TABDESCRIPTION=$LINA. additional text
If there is no entry on the tabbed page Standard name, the name is generated with the default Standard name [NB].
NB='$NB.'
Example 2: A condition is used.
If there is no ERP number available then the NB (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.
Calling the external script is performed via NB=TSCRIPT('nb.ruletable','$CALCED_ROW.','$NB.').
Set the entries under Standard name, Standard name (short) or 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.25.7.7.1, “Change standard descriptions according to project ”.
To define the Standard name and thus the CAD file name you can use IF conditions, Fortran syntax, constants and ERP variables (launch with '$Variablename.') to create names:
(both conditions - right and left of .AND. - must be filled) |
|
(one of both conditions - right and/or left of .OR. - must be filled) |
|