Change Text Attributes in Expedition

Version 1

    Author (required): Al Layson

     

    Platform/Format: VBScript, Form

     

    Use case description (required)

    This script will aid users in changing text attributes (Font, Style, Height, PenWidth, Angle, Mirror) of selected or all texts (Assembly, Silkscreen and/or User Layer texts), on the board. GUI differences may include text font pulldown versus manual entry of the text font, depending on ability of the script to extract the system fonts from the registry. Be aware that if the pulldown gui is presented, some fonts may be called by another name not available in the registry and will not be accepted by Expedition.

    Undo Enabled.

     

     

    ChangeTextAttrs.jpg

     

     

     

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

     

     

     

    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.