oaBlockageQuery
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaBlockageQuery 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaBlockageQuery 当前在 oapy 中可用的 Python 接口。
详细说明
This class allows the caller to query a specified region in a design hierarchy and return blockage objects that overlap the region。 This is an abstract class。 Applications must derive their own sub-class to use it。
构造函数
_design.oaBlockageQuery()
obj = _design.oaBlockageQuery()
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getLayerNum() |
| ✅ | obj.query(topDesign, layerNum, region, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, region, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, layerNum, region, xform, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.query(topDesign, region, xform, filterSize=0, startLevel=0, stopLevel=100) |
| ✅ | obj.queryBlockage(blockage) |
| ✅ | obj.queryPlacementBlockage(blockage) |
方法说明
obj.getLayerNum()
绑定状态: 已绑定
Python 调用: obj.getLayerNum()
This function returns the layer number that is associated with the current query。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockageQuery
obj.getLayerNum()
obj.query(topDesign, layerNum, region, filterSize=0, startLevel=0, stopLevel=100)
绑定状态: 已绑定
Python 调用: obj.query(topDesign, layerNum, region, filterSize=0, startLevel=0, stopLevel=100)
Note: This function is deprecated and is retained to ensure compatibility with previous versions of OpenAccess。 Use the oaPlacementBlockageQuery class and query functions on oaPlacementBlockageQuery instead。 This function begins the query process to start generating placement blockages in the specified region of the specified design hierarchy。 Only oaAreaBlockage objects and oaAreaHalo objects in the design hierarchy will be produced。 For every blockage object that is produced, the virtual function queryPlacementBlockage() gets called。
参数
topDesign: Pointer to the top design in which to perform the query。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 oaBlockageQuery
obj.query(topDesign, layerNum, region, filterSize=0, startLevel=0, stopLevel=100)
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 blockages on the specified layer in the specified region of the specified design hierarchy。 This query produces oaLayerBlockage objects, oaLayerHalo objects oaLayerRangeBlockage and oaLayerRangeHalo objects in the design hierachy。 oaLayerRangeBlockage and oaLayerRangeHalo objects are produced if the layer's mask number falls within the maskRange of these objects。 For every blockage object that is produced, the virtual function queryBlockage() gets called。
参数
topDesign: Pointer to the top design in which to perform the query。layerNum: Only query objects with 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 oaBlockageQuery
obj.query(topDesign, region, 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)
Note: This function is deprecated and is retained to ensure compatibility with previous versions of OpenAccess。 Use the oaPlacementBlockageQuery class and query functions on oaPlacementBlockageQuery instead。 This function begins the query process to start generating placement blockages in the specified region of the specified design hierarchy。 Only oaAreaBlockage objects and oaAreaHalo objects in the design hierarchy will be produced。 For every blockage object that is produced, the virtual function queryPlacementBlockage() gets called。
参数
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 stop the querying。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockageQuery
obj.query(topDesign, layerNum, region, xform, 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 blockages on the specified layer in the specified region of the specified design hierarchy。 This query produces oaLayerBlockage objects, oaLayerHalo objects oaLayerRangeBlockage and oaLayerRangeHalo objects in the design hierachy。 oaLayerRangeBlockage and oaLayerRangeHalo objects are produced if the layer's mask number falls within the maskRange of these objects。 For every blockage object that is produced, the virtual function queryBlockage() gets called。
参数
topDesign: Pointer to the top design in which to perform the query。layerNum: Only query objects who has 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 oaBlockageQuery
obj.query(topDesign, region, xform, filterSize=0, startLevel=0, stopLevel=100)
obj.queryBlockage(blockage)
绑定状态: 已绑定
Python 调用: obj.queryBlockage(blockage)
This function processes each result of the blockage query。 This gets called during queries based on a layer number。 The specified blockage can be oaLayerBlockage , oaLayerHalo , oaLayerRangeBlockages or oaLayerRangeHalo 。
参数
blockage: The pointer to the oaBlockage queried。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockageQuery
obj.queryBlockage(blockage)
obj.queryPlacementBlockage(blockage)
绑定状态: 已绑定
Python 调用: obj.queryPlacementBlockage(blockage)
This function processes each result of the blockage query。 This gets called during queries for placement blockages。 The specified blockage can be oaAreaBlockage , oaAreaHalo 。
参数
blockage: Pointer to the oaBlockage object that is being queried。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockageQuery
obj.queryPlacementBlockage(blockage)