Managing Geographical Container Attributes (Schematic_ManageGeographicalContainer)

An opening ID is an entry point used to customize business logic. The Schematic_ManageGeographicalContainer opening ID lets you define a containee attributes according to geographical container 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 geographical container.

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

Definition Description
PLM Opening ID Schematic_ManageGeographicalContainer
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 geographical container.

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)
}