Report a specific component property and its value in Expedition

Version 2

    Author (required): Nadia Ahmad

     

    Platform/Format: VBScript

     

    Use case description (required)

    FindCompProperty.txt : Traverse through all components to find the Property (entered by the user) and generate a .csv report on the refdes and value assigned to the property.

     

    FindCompPropertyAndValue.txt : Traverse through all components in the design to find a specific Property and its value and output the refdes data in a .csv format.  The property name and value must be entered by the user.  This is to further narrow down the components which has a specific value assigned for a property.  The script also select the parts associated with the property and its value and do a Fit Selected at the end.

     

     

     

    Location of the zip file: http://communities.mentor.com/docs/DOC-1905

     

    Disclaimer

    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.