Context Object Parameters
Parameter Name | Type | Read/Write | Comments |
---|
iProcessOccurrence | MfgProcessOccurrence | Read | MfgItem occurrence, implemented by the Operation iSystemOperationOccurrence. |
iSystemOperationOccurrence | ProdSystemOccurrence | Read/Write | System or Operation occurrence, implementing iProcessOccurrence |
Sample
The following sample shows how to use the opening ID.
let iProcessOccurrence(MfgProcessOccurrence)
let iSystemOperationOccurrence(ProdSystemOccurrence)
let implementedInstance(PLMCoreInstance)
let implementedInstanceDescription(String)
let implementingReference(PLMCoreReference)
set iSystemOperationOccurrence = Parameters->GetAttributeObject("iSystemOperationOccurrence")
set iProcessOccurrence= Parameters->GetAttributeObject("iProcessOccurrence")
if(true)
{
if (iSystemOperationOccurrence <> NULL)
{
/************* Emptying the description on the implementing object *******************/
if(implementedInstanceDescription <> "" AND implementedInstanceDescription <> NULL)
{
set implementingReference = iSystemOperationOccurrence.Reference
if (implementingReference <> NULL)
{
implementingReference.V_description = "Implement link deleted"
}
}
}
}