oaViaHeader
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaViaHeader 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaViaHeader 当前在 oapy 中可用的 Python 接口。
详细说明
The oaViaHeader class implements an object that contains information about a particular oaViaDef and all of the vias that reference it。 An oaViaHeader is an automatic object that is created and destroyed by the database。 A viaHeader may be either an oaStdViaHeader or oaCustomViaHeader and is associated with standard or custom vias, respectively。 A viaHeader is automatically created whenever the first via of a particular viaDef is created。 A viaHeader is destroyed when the last via using the viaDef is destroyed。 The oaViaHeader class can be observed by deriving from oaObserver
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getViaDef() |
| ✅ | obj.getViaDefName(name) |
| ✅ | obj.getVias() |
| ✅ | obj.getSubHeaders() |
| ✅ | _design.oaViaHeader.find(block, viaDefName) |
| ✅ | _design.oaViaHeader.find(block, viaDef) |
方法说明
obj.getViaDef()
绑定状态: 已绑定
Python 调用: obj.getViaDef()
This function returns the viaDef object associated with this viaHeader。 If the viaHeader is bound, the viaDef is returned。 Otherwise, NULL is returned。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaHeader
obj.getViaDef()
obj.getViaDefName(name)
绑定状态: 已绑定
Python 调用: obj.getViaDefName(name)
This function returns the name of the viaDef associated with this viaHeader。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaHeader
obj.getViaDefName(name)
obj.getVias()
绑定状态: 已绑定
Python 调用: obj.getVias()
This function returns the collection of vias associated with this viaHeader。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaHeader
obj.getVias()
obj.getSubHeaders()
绑定状态: 已绑定
Python 调用: obj.getSubHeaders()
This function returns a collection of subHeaders in this superHeader。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaHeader
obj.getSubHeaders()
_design.oaViaHeader.find(block, viaDefName)
绑定状态: 已绑定
Python 调用: _design.oaViaHeader.find(block, viaDefName)
This function searches the specified block for a viaHeader associated with the specified viaDef。 If the viaHeader is found, it is returned。 Otherwise, NULL is returned。
Python 示例
from oapy._oa import _design
_design.oaViaHeader.find(block, viaDefName)
_design.oaViaHeader.find(block, viaDef)
绑定状态: 已绑定
Python 调用: _design.oaViaHeader.find(block, viaDef)
This function searches the specified block for an viaHeader with the specified viaDef name。 If the viaHeader is found, it is returned。 Otherwise, NULL is returned。
Python 示例
from oapy._oa import _design
_design.oaViaHeader.find(block, viaDef)