de_get_layer_attribute()
Given a layer name in that set, returns a layer attribute value integer or string for the current layer set, which represents the layer attribute value requested.
See also: de_add_layer().
Syntax:
de_get_layer_attribute(layerName, layerAttribute);
where
layerName is the name of a layer defined in the current layers file.
layerAttribute is the layer name. Can be one of these layer attributes:
- LAYER_NUMBER = Returns the layer number.
- LAYER_STREAM_NUM = Returns the GDSII stream layer number.
- LAYER_IGES_NUM = Returns the IGES layer/level number.
- LAYER_COLOR = Returns the layer color index (into eecolor.cfg).
- LAYER_FILL = Returns the layer fill index (into hpeefill.cfg).
- LAYER_LINE_TYPE = Returns the line type number, where:
- 0 = solid line
- 1 = dotted line
- 2 = double dotted line
- 3 = short dash line
- 4 = short dot dash line
- 5 = long dash line
- 6 = long dot dash line
- LAYER_PLOT_MODE = Returns the plot mode, where:
- 0 = outline plot mode
- 1 = filled
- 2 = both
- LAYER_PROTECTED = The layer protection flag, where:
- 1 = protected
- 0 = not protected.
- LAYER_VISIBLE = The layer visible flag, where:
- 1 = visible
- 0 = not visible.
- LAYER_BINDING_LIST = Returns a string which is the list of layers that components on this layer can attach to.
- LAYER_TYPE = The layer type, where:
- 1 = Physical (normal layer)
- 2 = Notes
- 3 = DRC (layer for DRC results)
- 4 = LVS (layer for LVS results)
Example:
decl color;
color = de_get_layer_attribute( "cond1", LAYER_COLOR);
Download Example File:
The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.
Get First Free Layer Number
Get Layer Name
Get Layer Number
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()