Managing Composite Attributes (Schematic_ManageComposite)

An opening ID is an entry point used to customize business logic. The Schematic_ManageComposite opening ID lets you define a containee attributes for a given composite attributes.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked every time a symbol is placed inside a composite .

This opening ID is used to add an attribute on the symbol to identify it as part of a composite.

Definition Description
PLM Opening ID Schematic_ManageComposite
Customization intent Execution
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject: Logical Occurrence
  • Parameters corresponds to the context object

Context Object Parameters

Parameter Name Type Read or Write Comments
ThisObject (input) LogicalOccurrence Read Name of the containee.
Father LogicalOccurrence Read Name of the container.

Sample

The following sample define the V_Description attribute of the containee according to the value of the attribute for the parent composite.

Let FatherInstance(RFLVPMLogicalInstance)
Let ChildInstance(RFLVPMLogicalInstance)
Let FatherName(String)
Let FatherOccurence(LogicalOccurrence)

Set ChildInstance = ThisObject.Instance
Set FatherOccurence = Parameters->GetAttributeObject("Father")
Set FatherInstance = FatherOccurence.Instance

if(NULL <> ChildInstance and NULL <> FatherInstance)
{
                ChildInstance.SetAttributeString("V_description", FatherInstance.Name)
}