Managing Component Properties By Modifying Symbol

You can change a component properties when changing its symbol representation.


Before you begin:
  • An equipment with a symbol reference, Symb1, is created under a logical reference.
  • A diagram view is opened.
See Also
Replacing Symbol Through Properties Modification
  1. In the Data Setup Diagram Resources, set the SchematicCallback_SymbolOrRouteModified.
    In the following scenario, the SchematicCallback_SymbolOrRouteModified resource has been set to add the symbol representation name as the 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("----------------------------------------------------------------------------")

    For more information about the SchematicCallback_SymbolOrRouteModified opening ID, see SchematicCallback_SymbolOrRouteModified.

  2. In the tree, right-click the equipment and select Place in View.
  3. Place the symbol in the active diagram view.
  4. Right-click the equipment and select Properties > Instance tab.
    In the Description box, the name of the symbol representation (Symb1) has been added in the Description box.