Unlock Shape in Expedition

Version 1

    Author (required): Al Layson


    Platform/Format:  VBScript


    Use case description (required)

    This script unlocks Conductive Areas that somehow become locked and cannot be unlocked and edited via interactive means. Seems to be appearing in 2007.8. This problem is reported as Defect:dts0100645904 - Conductive shape on layer 1 that is both fixed and locked. Cannot be removed at all.

    Since it is unknown why conductive shapes are inexplicably getting a fixed/locked attribute - new functionalities (RF, Groups, Bondpads/wires etc, may be doing this) - the script requires the user to select the conductive shape(s) prior to executing the script rather than acting on all conductive shapes in the design. It will unlock only selected conductive shapes.


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




    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.