oaViaQuery
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaViaQuery 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaViaQuery 当前在 oapy 中可用的 Python 接口。
详细说明
The oaViaQuery class implements functionality to query a specified region in a design hierarchy and quickly return all oaVia that overlap the region。
构造函数
_design.oaViaQuery()
obj = _design.oaViaQuery()
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getLayerNum1() |
| ✅ | obj.getLayerNum2() |
| ✅ | obj.query(topDesign, region, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, layerNum, region, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, layerNum1, layerNum2, region, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, region, xform, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, layerNum, region, xform, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, layerNum1, layerNum2, region, xform, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.queryVia(via) |
方法说明
obj.getLayerNum1()
绑定状态: 已绑定
Python 调用: obj.getLayerNum1()
This function returns the first layer number associated with this via query。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.getLayerNum1()
obj.getLayerNum2()
绑定状态: 已绑定
Python 调用: obj.getLayerNum2()
This function returns the second layer number associated with this via query。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.getLayerNum2()
obj.query(topDesign, region, filterSize=0, startLevel=0, stopLevel=100)
绑定状态: 已绑定
Python 调用: obj.query(topDesign, region, filterSize=0, startLevel=0, stopLevel=100)
This function begins the query process to start generating vias in the specified region of the specified design hierarchy。
参数
topDesign: Pointer to the top design in which to perform the query。layerNum1: Only query objects that have both of the specified layer numbers。layerNum2: Only query objects that have both of the specified layer numbers。region: The region of interest。xform: The current transform that is applied to the design。filterSize: Only query objects whose size is equal to or larger than filterSize。startLevel: The level of block hierarchy to start the querying。stopLevel: The level of block hierarchy to stop the querying。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.query(topDesign, region, filterSize=0, startLevel=0, stopLevel=100)
obj.query(topDesign, layerNum, region, filterSize=0, startLevel=0, stopLevel=100)
绑定状态: 已绑定
Python 调用: obj.query(topDesign, layerNum, region, filterSize=0, startLevel=0, stopLevel=100)
This function begins the query process to start generating vias in the specified region of the specified design hierarchy。
参数
topDesign: Pointer to the top design in which to perform the query。layerNum: Only query objects that have this layer number。region: The region of interest。xform: The current transform that is applied to the design。filterSize: Only query objects whose size is equal to or larger than filterSize。startLevel: The level of block hierarchy to start the querying。stopLevel: The level of block hierarchy to stop the querying。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.query(topDesign, layerNum, region, filterSize=0, startLevel=0, stopLevel=100)
obj.query(topDesign, layerNum1, layerNum2, region, filterSize=0, startLevel=0, stopLevel=100)
绑定状态: 已绑定
Python 调用: obj.query(topDesign, layerNum1, layerNum2, region, filterSize=0, startLevel=0, stopLevel=100)
This function begins the query process to start generating vias in the specified region of the specified design hierarchy。
参数
topDesign: Pointer to the top design in which to perform the query。region: The region of interest。xform: The transform that is currently applied to the design。filterSize: Only query objects whose size is equal to or larger than filterSize。startLevel: The level of block hierarchy to start the querying。stopLevel: The level of block hierarchy to end the querying。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.query(topDesign, layerNum1, layerNum2, region, filterSize=0, startLevel=0, stopLevel=100)
obj.query(topDesign, region, xform, filterSize=0, startLevel=0, stopLevel=100)
绑定状态: 已绑定
Python 调用: obj.query(topDesign, region, xform, filterSize=0, startLevel=0, stopLevel=100)
This function begins the query process to start generating vias in the specified region of the specified design hierarchy。
参数
topDesign: Pointer to the top design in which to perform the query。layerNum1: Only query objects that have both of the specified layer numbers。layerNum2: Only query objects that have both of the specified layer numbers。region: The region of interest。filterSize: Only query objects whose size is equal to or larger than filterSize。startLevel: The level of block hierarchy to start the querying。stopLevel: The level of block hierarchy to stop the querying。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.query(topDesign, region, xform, filterSize=0, startLevel=0, stopLevel=100)
obj.query(topDesign, layerNum, region, xform, filterSize=0, startLevel=0, stopLevel=100)
绑定状态: 已绑定
Python 调用: obj.query(topDesign, layerNum, region, xform, filterSize=0, startLevel=0, stopLevel=100)
This function begins the query process to start generating vias in the specified region of the specified design hierarchy。
参数
topDesign: Pointer to the top design in which to perform the query。layerNum: Only query objects that have this layer number。region: The region of interest。filterSize: Only query objects whose size is equal to or larger than filterSize。startLevel: The level of block hierarchy to start the querying。stopLevel: The level of block hierarchy to stop the querying。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.query(topDesign, layerNum, region, xform, filterSize=0, startLevel=0, stopLevel=100)
obj.query(topDesign, layerNum1, layerNum2, region, xform, filterSize=0, startLevel=0, stopLevel=100)
绑定状态: 已绑定
Python 调用: obj.query(topDesign, layerNum1, layerNum2, region, xform, filterSize=0, startLevel=0, stopLevel=100)
This function begins the query process to start generating vias in the specified region of the specified design hierarchy。
参数
topDesign: Pointer to the top design in which to perform the query。region: The region of interest。filterSize: Only query objects whose size is equal to or larger than filterSize。startLevel: The level of block hierarchy to start the querying。stopLevel: The level of block hierarchy to end the querying。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.query(topDesign, layerNum1, layerNum2, region, xform, filterSize=0, startLevel=0, stopLevel=100)
obj.queryVia(via)
绑定状态: 已绑定
Python 调用: obj.queryVia(via)
This function processes each result of the via query。
参数
via: Pointer to an oaVia found during querying。
Python 示例
from oapy._oa import _design
# assume obj is a oaViaQuery
obj.queryVia(via)