P&ID - Apply symbol rep

Manage symbol manually

In some use cases, it's needed to reapply the symbol on the sheet. This can be done by the manual way : 

  • Manage Symbol :
  • Replace Inserted Symbol

Automation

To avoid to it manually for each symbol, here is a EKL script to reapply the same symbol :

 

Limitation

This code is only working with symbol with the name changed from the original naming like "Symbol Reference.1" :
 

 

 

Use Cases 

Duplication of a symbol
 

  • After Duplication of a symbol, the symbol in view is still pointing the origin symbol

 

BR Rule for Alternative Representation Name
 

  • The BR Rule for Alternative Representation Name (Schematic_ComputeAlternativeRepName) is only trigger on Instance Modification
    • So if the symbol/Altenative Rep is triggered with a reference attribute, so representation is not updated