Update Mounting Holes and Vias

Document created by jeremy_parker on Jul 18, 2013Last modified by scott_williams on Jul 20, 2020
Version 8Show Document
  • View in full screen mode

Used in Cadence Allegro library translation for EE7.9.5 and VX.0. ONLYNot needed in EEVX.1 and beyond because the translator was fixed.


Allegro geometries can use the same padstack as a mechanical item (mounting hole) or via and also as an electrical item (through-hole). In such cases, the Allegro translator creates a through-hole padstack, but applies it to cells as a mounting hole or via.  This creates an invalid cell.



In the cell editor, select the padstack.  It shows it is a mounting hole but Properties does not show a padstack name.


Solution: Update Mounting Holes and Vias script


  • Reads all cells in a library and finds all padstacks used as mounting holes and/or vias.
  • Copies each padstack used as a mounting hole to a new name prefixed by “MH_”.
  • Copies each padstack used as a via to a new name prefixed by "VIA_".
  • Updates the cells to reference the “MH_” and "VIA_" padstacks as required.


To receive updates on when this script is updated, enable "Recieve E-mail Notifications" in the Actions tab on this page.


For any problems or enhancement requests, please contact Jeremy Parker at Jeremy_Parker@mentor.com


Always remember to back up your library or design before running any Automation script.


Requires Microsoft .NET Framework 4


Update 4/11/2014: Posted new version for VX.0 release


Update 5/21/2015: Posted version 1.2 for EE7.9.5 release