SchematicCallback_SymbolOrRouteModified

An opening ID is an entry point used to customize business logic. The SchematicCallback_SymbolOrRouteModified opening ID retrieves the name of a symbol representation of a logical component and adds it as an attribute in the component properties.

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 when a symbol representation of a component is placed in a diagram view.

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

Input Objects

Input objects must be of the following types:

  • ThisObject: Logical Occurence
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
Representation_Name String Read Name of the symbol representation

Sample

In the following example, the SchematicCallback_SymbolOrRouteModified opening ID is set to retrieve the name of the symbol representation and add it as a Description attribute.

let sName(string)
set sName = Parameters.GetAttributeString("Representation_Name")
let LogInst(RFLVPMLogicalInstance)
set LogInst = ThisObject.Instance

if(NULL<>LogInst)
{
	LogInst.V_description = sName.Extract(0, sName.Search("."))
}

Notify(" SetSymbolName = #", sName )
Notify("----------------------------------------------------------------------------")