General InformationThis opening ID is used to customize the name of an insulation. The table below provides you with information related to the definition of the opening ID.
Input ObjectsInput objects must be of the following types:
SampleThe following sample explains the business rule that assigns name to an insulation.
/*
let MySep(String) /* Separator */
MySep = "_"
if(ThisObject<>NULL)
{
Let sCategory(String)
Let oIns(InsInsulation)
Let oRepRef(VPMRepReference)
oRepRef = GetPLMOwner(ThisObject)
Set oIns = oRepRef.AggregatingReference
sCategory = oIns.V_Categories->GetItem(1)
ThisObject.Name=oIns.V_MaterialName+MySep+oIns.V_InsulationThickness
}
| |||||||||||||||