Business Rule: Insulation Name (Naming ID)

An opening ID is an entry point used to customize business logic. Naming ID defines a specific name to an insulation.

Note: For more information about customization by business rules, see Customization by Business Rules.

This page discusses:

General Information

This 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.

Definition Description
PLM Opening ID Naming ID
Customization intent Computation
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject: InsSurfaceInsulationFeature
  • Parameters: RuleContext

Sample

The 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
}