Giter Site home page Giter Site logo

allegro-script-add_layer_name's Introduction

About

This script will automatically add subclass name to the selected layers

This script is for Cadence Allegro software. Tested with Allegro 17.2

Created by Robert Feranec

(c) 2017 FEDEVEL, https://www.fedevel.com/academy

Video

Here you can find a detailed video about how to create, run and use this script Script GUI / Dialogue Form

Screenshots

Script GUI / Dialogue Form

Script GUI / Dialogue Form

Before running the script

Before running the script

After running the script

Notice the added layer name in the bottom left corner After running the script - notice the added layer name in the bottom left corner

Detail of the automatically added layer name

Detail of the automatically added layer name

Installation

To use this script, simply copy the files into your Cadence directory. For example, if your Cadence installation directory is d:\Cadence\SPB_17.2\ then:

  • copy add_layer_name.il file into: d:\Cadence\SPB_17.2\share\local\pcb\skill\
  • copy add_layer_name.form into d:\Cadence\SPB_17.2\share\local\pcb\forms\

How to load the script

Automatically

If you would like to automatically load this script by your Allegro when it starts, do following:

  1. Switch OFF Allegro
  2. Go to: d:\Cadence\SPB_17.2\share\local\pcb\skill\
  3. Copy example.ilinit into allegro.ilinit
  4. Start Allegro

Manually (useful for debugging)

This is what you need to do to (re)load the script in the Allegro commad line:

  1. go to skill command mode (only run this once, when you start your allegro):
skill
  1. reload the script (do this every time you make any changes in the script)
load("add_layer_name.il")

How to run the script

To start the script, run the following command in Cadence Allegro command line or in SKILL mode:

add_layer_name

Documentation

Documentation which you may need when you are creating your own scripts or which you may need to understand the commands and features used in this script:

Note: The absolute PATH depends on your Cadence installation.

Examples to create your own scripts (very useful, especially the axlfrom.il) can be found here: d:\Cadence\SPB_17.2\share\pcb\examples\skill\form\

Note for me

Here is how to create software links under Windows 7

You have to start cmd as Administrator. Then run following commands:

mklink "d:\Cadence\SPB_17.2\share\local\pcb\forms\add_layer_name.form" "d:\Users\Robo\Code\allegro\scripts\add_layer_name\add_layer_name.form"
mklink "d:\Cadence\SPB_17.2\share\local\pcb\skill\add_layer_name.il" "d:\Users\Robo\Code\allegro\scripts\add_layer_name\add_layer_name.il"

allegro-script-add_layer_name's People

Contributors

robertferanec avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.