oaLayerRangeBlockageQuery
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaLayerRangeBlockageQuery 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaLayerRangeBlockageQuery 当前在 oapy 中可用的 Python 接口。
详细说明
The oaLayerRangeBlockageQuery class implements functionality to query a specified region in a design hierarchy and quickly return all layer range blockages that overlap the region。 This class is abstract, and an application must derive its own sub-class。
构造函数
_design.oaLayerRangeBlockageQuery()
obj = _design.oaLayerRangeBlockageQuery()
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.query(topDesign, region, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, region, xform, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.queryBlockage(blockage) |
方法说明
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 layer range blockages in the specified region of the specified design hierarchy。 The mask range of the range blockages in a design does not affect the blockages that are produced in this query。 Both oaLayerRangeBlockage and oaLayerRangeHalo objects in the design hierarchy are produced。
参数
topDesign: Pointer to the top design in which to perform the query。region: The region in which to perform the query。xform: The current transform that is applied to the design。filterSize: Objects with a size equal to or larger than this value will be queried。startLevel: The level of the block hierarchy to start the query。stopLevel: The level of the block hierarchy to stop the query。
Python 示例
from oapy._oa import _design
# assume obj is a oaLayerRangeBlockageQuery
obj.query(topDesign, 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 layer range blockages in the specified region of the specified design hierarchy。 The mask range of the range blockages in a design does not affect the blockages that are produced in this query。 Both oaLayerRangeBlockage and oaLayerRangeHalo objects in the design hierarchy are produced。
参数
topDesign: Pointer to the top design in which to perform the query。region: The region in which to perform the query。filterSize: Objects with a size equal to or larger than this value will be queried。startLevel: The level of the block hierarchy to start the query。stopLevel: The level of the block hierarchy to stop the query。
Python 示例
from oapy._oa import _design
# assume obj is a oaLayerRangeBlockageQuery
obj.query(topDesign, region, xform, filterSize=0, startLevel=0, stopLevel=100)
obj.queryBlockage(blockage)
绑定状态: 已绑定
Python 调用: obj.queryBlockage(blockage)
The function processes each result of the blockage query。 The specified blockage can be oaLayerRangeBlockage or oaLayerRangeHalo。
参数
blockage: Pointer to the oaBlockage object that is being queried。
Python 示例
from oapy._oa import _design
# assume obj is a oaLayerRangeBlockageQuery
obj.queryBlockage(blockage)