General InformationThis opening ID is invoked to map a system with V5 piping/tubing parts attributes through an FBDI migration. The table below provides you with information related to the definition of the Opening ID.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleThe following sample
/* CATRule signature (do not edit) : (ThisObject : #In Piping_Pipe_Inst, Parameters : #In RuleContext) : #Void */
Let refPrd(Piping_Pipe_Inst) /* Custo Type */
Let refAppExt (PipPart) /* Reference Application extension “PipPart” */
Let v5AttrList (Feature)
set refPrd = ThisObject
set refAppExt = ThisObject
if ( refPrd <> NULL and refAppExt <> NULL)
{
set v5AttrList = Parameters->GetAttributeObject("V5Attributes")
/* Update the PLM attribute on the Custom type
refPrd.E_MaterialCode = v5AttrList->GetAttributeString("MaterialCode")
*/
if( v5AttrList <> NULL )
{
Trace (1, "v5AttrList is not null" )
if (v5AttrList->HasAttribute("MaterialCode") == true)
{
refPrd.V_SupplierName = v5AttrList->GetAttributeString("MaterialCode")
}
}
}
| |||||||||||||||||||||||||||||