ly_find_layer_by_name()

Retrieves a layer number given its name, for active layer set. Returns an integer, the layer number (-1 if the layer is not defined).

See also: ly_find_layer_name_by_num().

Syntax:

ly_find_layer_by_name(layerName);

where

layerName is the name of a layer; a string.

Example:
decl num;
num = ly_find_layer_by_name("conn1");
Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources