TA的每日心情 | 开心 2025-10-24 15:03 |
|---|
签到天数: 113 天 [LV.6]常住居民II
|
可以用这个函数,axlLayerDelete 。指定叠构名名称或从上往下的序号。
NAME
axlLayerDelete - delete cross section layer
SYNOPSIS
axlLayerDelete(
t_layerName/x_layerNumber
) -> t/nil
FUNCTION
This deletes a cross section layer. While axlDeleteObject can be used
to delete empty named layers, this API can delete both named and unnamed
cross section layers.
The cross section has both ETCH layers and unnamed dielecric layers.
The order of the cross section is returned by axlGetXSection(), The
x_layerNumber is order within the cross-section with the first index
number (e.g AIR) starting at 0.
Reason for failures:
- Deleting a named layer containing geeometries (excluding pins or vias)
- Deleting top or bottom dielectric or TOP or BOTTOM etch layers
- Layer name does not exist
- Layer naumber is lesss then 0 or greater or equal to
length(axlXSectionGet('count))
NEEDS
ETCH layer string or cross section index
RETURNS
t if layer deleted, nil if failure
SEE ALSO
axlLayerCreateNonConductor, axlDeleteByLayer, axlDeleteObject, axlXSectionGet
axlXSectionDelete
EXAMPLES
- assume design has a layer named empty. This will delete that layer
axlLayerDelete("EMTPY")
- delete the third cross section layer. On most designs this is an unnamed
dielectic layer between TOP and the next etch layer.
axlLayerDelete(3)
|
|