Report Net Layer Length in Expedition

Version 2

    Author (required): Al Layson


    Platform/Format: VBScript


    Use case description (required)

    RptNetLayerLength.vbs reports each Net's routed length per (layer) as well as the net's total routed length along with the number of vias used by the net per (via range). It also reports number of unconnected pins vs total number of pins per net and any Open Netlines in the net. It writes the file "NetLayerLengths.txt" to the pcb directory's LogFiles container and is accessible by Expedition's FileViewer. The script only considers traces and disregards Conductive and Plane Shapes and Pin Package Lengths. It is already known at this posting that total net Lengths may not always match CES's Actual Lengths exactly for a variety of reasons (I.E. Pin Package Lengths, Rounding). You're welcome to post any reasons you may find for your particular case. The last line of the file reports the total routed traces length of the board.





    Location of the zip file:



    Copyright 2010 Mentor Graphics Corporation. All Rights Reserved. Recipients who obtain this code directly from Mentor Graphics use it solely for internal purposes to serve as example Java or Java Script plugins. This code may not be used in a commercial distribution. Recipients may duplicate the code provided that all notices are fully reproduced with and remain in the code. No part of this code may be modified, reproduced, translated, used, distributed, disclosed or provided to third parties without the prior written consent of Mentor Graphics, except as expressly authorized above. THE CODE IS MADE AVAILABLE "AS IS" WITHOUT WARRANTY OR SUPPORT OF ANY KIND. MENTOR GRAPHICS OFFERS NO EXPRESS OR IMPLIED WARRANTIES AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR WARRANTY OF NON-INFRINGEMENT. IN NO EVENT SHALL MENTOR GRAPHICS OR ITS LICENSORS BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS) WHETHER BASED ON CONTRACT, TORT OR ANY OTHER LEGAL THEORY, EVEN IF MENTOR GRAPHICS OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.