UL_CLASS

Data members

   
clearance[number] int (see note)
drill int
name string (see note)
number int
width int

See also Design Rules, UL_NET, UL_SIGNAL, UL_SCHEMATIC, UL_BOARD

Notes

The clearance member returns the clearance value between this net class and the net class with the given number. If the number (and the square brackets) is ommitted, the net class's own clearance value is returned. If a number is given, it must be between 0 and the number of this net class.

If the name member returns an empty string, the net class is not defined and therefore not in use by any signal or net.

Example

board(B) {
  B.signals(S) {
    printf("%-10s %d %s\n", S.name, S.class.number, S.class.name);
    }
  }