Skip to content

FEDEVEL/allegro-script-add_layer_name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages