Attribute Value Management for Component Family Items Revisions

An opening ID is an entry point used to customize business logic. You can define a business rule for attribute valuation for a newly created revision of a component family item. This rule is executed if changes made in a generic model are managed by the component family by activating the Apply new revision of generic model command and selecting Create new revisions of previously generated items as the Impacted item update method.

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

This page discusses:

General Information

Component family functionality allows you to generate and manage a family of components (physical products) that are the variations of a generic model such as a physical product that contains a parametric table defining its variability.

If, however, the generic model is changed, the component family created out of it has to update according to the impact of changes made. There is a command for managing the impact that lets you choose the required option. There are multiple options to either ignore the changes, overwrite an existing component family item, or create new revisions of such items.

At the time of creating the new revision, you can govern the valuation of attributes. You can create a business logic opening ID to define the attributes of newly created revisions which will be evaluated using the previous revision of the same component family item.

This business rule is executed during the evaluation of attributes during the creation of a new revision of an existing family item by selecting Test and Resolve item.

Important: In the context of the Apply new revision of generic model command, this business rule conformity is not supported if Overwrite previously generated item is selected.

The following table provides you with information related to the definition of the opening ID:

Definition Description
PLM Opening ID Attribute Value Management for Component Family Items Revisions
Customization intent Computation
Execution context Client
Notes:
  • The business rule comes into effect only when Create new revisions of previously generated items is selected during impact management.
  • You must run the Test and Resolve command to generate a new revision family item that takes the changes performed on the generic model into account.

Input Objects

Input objects must be of the VPMreference type.

Context Object Parameters

Parameter Name Type Read or Write Comments
Attributes List Read/Write Internal name of attribute.

Samples

This business rule forces the evaluation of a Description attribute of a PLM entity by using the Description attribute of a previously resolved model at the time of creating a new revision of a component family item.

//Attributes to be evaluated from Previous revision of component family item.

let AttributesListToBeEvaluatedFromPreviousRevision (List)

AttributesListToBeEvaluatedFromPreviousRevision.Append("V_description")

Parameters.SetAttributeObject("Attributes", Attributes)

This business rule forces the evaluation of a Description attribute of a PLM entity by using the Description attribute of a generic model at the time of creating a new revision of a component family item.

//Attributes to be evaluated using Generic model of component family

let AttributesListToBeEvaluatedUsingGenericModel (List)

AttributesListToBeEvaluatedUsingGenericModel.Append("V_description")

Parameters.SetAttributeObject("GenericModelAttributes", 
AttributesListToBeEvaluatedUsingGenericModel)