Example how to create Padstack (simple and advanced) with Automation

Document created by joe_krolla on Oct 20, 2010
Version 1Show Document
  • View in full screen mode

Author (required): Andrzej Noszczyk (Mentor Graphics)


Platform/Format: VBScript


Use case description (required)

This zip file includes two scripts and a sample library:


The first script shows a way how a padstack can be created through automation.

The second script shows a way how pads, holes and padstacks can be created through automation.

New padstack technology is also created and the script shows how to handle the new technology when some settings are done on a padstack.
Please run the script with mgcscript:  mgcscript CreatePadstackExample_extended.vbs [optional path_to_central_library/file.lmc]
As an example library you can use SampleLib2007 -  please see SDD_HOME/standard/examples/SampleLib2007





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.

2 people found this helpful