General InformationThis opening ID is invoked when you use the command Check and Update Symbols.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
Associate a Symbol to an Proposed SolutionThe 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)
| |||||||||||||||||||||||||||||||||||||||