Replacing Symbol Through Properties Modification

For components with multiple symbol representations, you can replace the symbol representation placed in the diagram view by modifying the properties of the logical instance.


Before you begin:
  • An equipment with two symbols references, Symb1 and Symb2, is created under a logical reference.
  • A diagram view is opened.
See Also
Managing Component Properties By Modifying Symbol
  1. In the Data Setup Diagram Resources, set the Rule to Get Symbol and Graphic Attributes.
    In the following scenario, the Rule to Get Symbol and Graphic Attributes resource has been set to define the V_description attribute as the trigger for the symbol modification.
    Notify("=>Schematic_GetSymbol_GraphicAttr_FromRepMode")
    
    let ThisInstance(RFLVPMLogicalInstance)
    set ThisInstance =ThisObject.Instance
    if (NULL <>ThisInstance)
    {
    	Parameters->SetAttributeString("Symbol_Name", ThisInstance.V_description)
    }
    
  2. Define Symb1 as the default symbol. For more information about how to define the default representation symbol, see Managing Symbols in a Symbol Representation.
  3. In the tree, right-click the equipment and select Place in View.
  4. Place the symbol in the active diagram view.
  5. Right-click the equipment and select Properties > Instance tab.
  6. In the Description box, enter Symb2 and click OK.
    In the diagram view, the equipment symbol Symb1 has been replaced by Symb2.