General InformationThis opening is invoked for any reference (PLMCoreReference andPLMCoreRepReference) included into a Product structure that results from the cloning of the Product structure defining the Component Family Definition generic model, except for the design table representation. 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 shows how to modify the let generic (PLMEntity)
let isroot (Boolean)
let index (Integer)
let itemname (String)
set generic = Parameters.GetAttributeObject("GenericModel")
isroot = Parameters.GetAttributeBoolean("IsRoot")
index = Parameters.GetAttributeInteger("ItemIndex")
itemname = Parameters.GetAttributeString("ItemName")
if (isroot == true)
{
ThisObject.PLM_ExternalID = itemname
}
else
{
ThisObject.PLM_ExternalID = generic.PLM_ExternalID + "_" + ToString(index)
} | |||||||||||||||||||||||||||||||||||||