Manage the List of Logical Attributes for Additional Filtering (HvaSpecAdditionalFilteringForLogicalAttributes)

An opening ID is an entry point used to customize business logic. The Manage the List of Logical Attributes for Additional Filtering enables you to define the list of logical attributes to filter.

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 using the following commands:

  • Place Part by specification driven: the additional filtering is based on the line ID’s attributes.
  • Place Part by logical driven: the additional filtering is based on the logical object’s attributes. If the attributes to filter are not found on the logical object, they are retrieved from the line ID.
  • Propagate Size: the additional filtering is based on the line ID’s attributes.
  • Comply with Specifications: the additional filtering is based on the line ID’s attributes.

This opening ID is used to customize the list of attributes used in additional filtering.

It is triggered only once during the session.

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

Input Objects

Input objects must be of the following types:

  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
ListOfLogicalAttributes List Read

Defines the list of Line ID and/or Logical Object attribute names on which you want to apply the filter.

You define this list in the business rule.

ListOfPhysicalAttributes List Read

Defines the list of physical attribute names corresponding to the logical attribute names respectively.

Important: It must have the same size as ListOfLogicalAttributes.

You define this list in the business rule.

Sample

The following example shows how to define a list of logical and physical attributes for filtering.

Let oListOfLogicalAttributes(List)
Let oListOfPhysicalAttributes(List)

/* @User: Define here the List of Logical attributes' name to apply the filtering */
oListOfLogicalAttributes.Append("DSFLU_Log_FlowRate")
oListOfLogicalAttributes.Append("DSFLU_Log_Priority")

/* @User: Define here the List of Physical attributes' name correspoding to the List of Logical attributes' name */
oListOfPhysicalAttributes.Append("DSFLU_FlowRate")
oListOfPhysicalAttributes.Append("DSFLU_Priority")

/* Set the Output of Business Rule */
Parameters.SetAttributeObject("ListOfLogicalAttributes",oListOfLogicalAttributes)
Parameters.SetAttributeObject("ListOfPhysicalAttributes",oListOfPhysicalAttributes)