Rule to Define Selective Attribute List of a 1D Facet (EscItm_Get1DFacetAttr)

An opening ID is an entry point used to customize business logic. The EscItm_Get1DFacetAttr opening ID defines architecture component attributes to be displayed in Data Information Panel.

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 display architecture components attributes in Data Information Panel for the linked logical objects.

Definition Description
PLM Opening ID Rule to define selective attribute list of a 1D facet
Customization intent Execution
Execution context Client

Input Objects

Input objects must be of the following types:

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

Context Object Parameters

Parameter Name Type Read or Write Comments
Fact object (input) RFLVPMLogicalReference Read architecture component object reference
Input_AppName (input) String Read Application name calling business rule:
  • CATPLEditorLiveWorkbench: Piping & Tubing Systems Design
  • CATHVAEditorWorkbench: HVAC Systems Design
  • CATELEditorWorkbench: Electrical Systems Design
Output_AttrNames (outpout) List Write List of the attributes for the architecture component object that you want to display in the Data Information Panel.

Display Architecture Number

The following sample returns the architecture number attribute of the architecture component when called from the Piping & Tubing Systems Design app.

let appName(String)
set appName = Parameters.GetAttributeString("Input_AppName")
let OutputAttrNames(List)
set OutputAttrNames = ThisObject.ListAttributeNames("",false)
let attr(String)
let itemAttr(List)
for attr inside OutputAttrNames
{
    if(appName == "CATPLEditorLiveWorkbench" and attr  == "V_ArchitectureNumber")
    {
       itemAttr.Append(attr)
    }
}

Parameters.SetAttributeObject("Output_AttrNames", itemAttr)