Context Object Parameters
Parameter Name | Type | Read/Write | Comments |
---|
iPartOccurrence | ProductOccurrence or Part |
Read | Reference (for a scope link) or occurrence (for an implement link) of the implemented product or part. When iPartOccurrence is an EBOM, it is always a reference. |
Sample
The following sample creates of an implement link between an item and a design part
occurrence.
Let iPartOccurence(ProductOccurrence) /* the occurrence of design part */
Let ProcInst(DELFmiFunctionInstance)
Let NewProcessName(String)
set iPartOccurence= Parameters->GetAttributeObject("iPartOccurrence")
if (iPartOccurence <> NULL)
{
set ProcInst = ThisObject
if (ProcInst <> NULL)
{
NewProcessName= "This is a new name"
ProcInst. PLM_ExternalID = NewProcessName
}
}