Rule to Associate a Symbol to a Proposed Solution (EscItm_GetSymbolNameForASReferences)

An opening ID is an entry point used to customize business logic. The EscItm_GetSymbolNameForASReferences opening ID associates a symbol to a proposed solution.

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

This page discusses:

General Information

This opening ID is invoked when you use the command Check and Update Symbols.

Definition Description
PLM Opening ID Rule to Compute a Symbol Name From a proposed solution
Customization intent Execution
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject: VPMProduct
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
Input_ListArticleSolutionRefs VPMProduct Read

The list of proposed solutions for which symbols must be retrieved.

Input_RelatedSystemContext Logical Occurrence Read The logical system where the symbols is used.
Input_SchemaContext DifSheet Read The sheet where the symbols is used.
Input_InteractiveAppContext String Read The app in which the symbols is used.

Possible values are the following:

Piping & Tubing Systems Design

HVAC Systems Design

Electrical Systems Design

Output_ListSymbolNames List Write The list of symbol names associated with the given proposed solutions.

Associate a Symbol to an Proposed Solution

The following sample uses the description of the proposed solutions as a name of the associated symbol.

Let ListOfArticleSolutions(List)
Let ArticleSolutionRef(PLMEntity)
Let ListOfSymbolNames(List)
Let DescriptionVal(String)
set ListOfArticleSolutions = Parameters->GetAttributeObject("Input_ListArticleSolutionRefs")
set ListOfSymbolNames = Parameters->GetAttributeObject("Output_ListSymbolNames")

Let i=1
for i while i <= ListOfArticleSolutions.Size()
{
  ArticleSolutionRef = ListOfArticleSolutions->GetItem(i)
  if (NULL <> ArticleSolutionRef)
  {
     set DescriptionVal = ArticleSolutionRef->GetAttributeString("V_description")
     ListOfSymbolNames->Append(DescriptionVal)
  }
}

Parameters->SetAttributeObject("Output_ListSymbolNames", ListOfSymbolNames)