oaBlockObject
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaBlockObject 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaBlockObject 当前在 oapy 中可用的 Python 接口。
详细说明
The oaBlockObject class is an abstract base class for all physical objects in a design database。 For the classes derived from oaBlockObject that are themselves base classes, oaBlockObject has functions to test for membership in that base class。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.isNet() |
| ✅ | obj.isBitNet() |
| ✅ | obj.isTerm() |
| ✅ | obj.isBitTerm() |
| ✅ | obj.isInst() |
| ✅ | obj.isBitInst() |
| ✅ | obj.isAssignment() |
| ✅ | obj.isConnectDef() |
| ✅ | obj.isFig() |
| ✅ | obj.isConnFig() |
| ✅ | obj.isPinFig() |
| ✅ | obj.isShape() |
| ✅ | obj.isOccShape() |
| ✅ | obj.isBlockage() |
| ✅ | obj.isTextDisplay() |
| ✅ | obj.isOccTextDisplay() |
| ✅ | obj.isRef() |
| ✅ | obj.isBoundary() |
| ✅ | obj.isVia() |
| ✅ | obj.isViaHeader() |
| ✅ | obj.getBlock() |
| ✅ | obj.getMarkersOwnedBy() |
方法说明
obj.isNet()
绑定状态: 已绑定
Python 调用: obj.isNet()
This function determines if this object is an instance of one of the classes derived from the oaNet class。 The function returns a boolean value of true if the oaBlockObject is a net。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isNet()
obj.isBitNet()
绑定状态: 已绑定
Python 调用: obj.isBitNet()
This function determines if this object is an instance of one of the classes derived from the oaBitNet class。 The function returns a boolean value of true if the oaBlockObject is an oaBitNet object。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isBitNet()
obj.isTerm()
绑定状态: 已绑定
Python 调用: obj.isTerm()
This function determines if this object is an instance of one of the classes derived from the oaTerm class。 The function returns a boolean value of true if the oaBlockObject is a terminal。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isTerm()
obj.isBitTerm()
绑定状态: 已绑定
Python 调用: obj.isBitTerm()
This function determines if this object is an instance of one of the classes derived from the oaBitTerm class。 The function returns a boolean value of true if the oaBlockObject is an oaBitTerm object。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isBitTerm()
obj.isInst()
绑定状态: 已绑定
Python 调用: obj.isInst()
This function determines if this object is an instance of one of the classes derived from the oaInst class。 The function returns a boolean value of true if the oaBlockObject is an instance。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isInst()
obj.isBitInst()
绑定状态: 已绑定
Python 调用: obj.isBitInst()
This function determines if this object is an instance of one of the classes derived from the oaBitInst class。 The function returns a boolean value of true if the oaBlockObject is an oaBitInst object。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isBitInst()
obj.isAssignment()
绑定状态: 已绑定
Python 调用: obj.isAssignment()
This function determines if this object is an instance of one of the classes derived from the oaAssignment class。 The function returns a boolean value of true if the oaBlockObject is an oaAssignment object。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isAssignment()
obj.isConnectDef()
绑定状态: 已绑定
Python 调用: obj.isConnectDef()
This function determines if this object is an instance of one of the classes derived from the oaConnectDef class。 The function returns a boolean value of true if the oaBlockObject is an oaConnectDef 。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isConnectDef()
obj.isFig()
绑定状态: 已绑定
Python 调用: obj.isFig()
This function determines if this object is an instance of one of the classes derived from the oaFig class。 The function returns a boolean value of true if the oaBlockObject is a figure。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isFig()
obj.isConnFig()
绑定状态: 已绑定
Python 调用: obj.isConnFig()
This function determines if this object is an instance of one of the classes derived from the oaConnFig class。 The function returns a boolean value of true if the oaBlockObject is a connectivity figure。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isConnFig()
obj.isPinFig()
绑定状态: 已绑定
Python 调用: obj.isPinFig()
This function determines if this object is an instance of one of the classes derived from the oaPinFig class。 The function returns a boolean value of true if the oaBlockObject is a pin figure。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isPinFig()
obj.isShape()
绑定状态: 已绑定
Python 调用: obj.isShape()
This function determines if this object is an instance of one of the classes derived from the oaShape class。 The function returns a boolean value of true if the oaBlockObject is a shape。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isShape()
obj.isOccShape()
绑定状态: 已绑定
Python 调用: obj.isOccShape()
This function determines if this object is an instance of one of the classes derived from the oaOccShape class。 The function returns a boolean value of true if the oaBlockObject is an occShape。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isOccShape()
obj.isBlockage()
绑定状态: 已绑定
Python 调用: obj.isBlockage()
This function determines if this object is an instance of one of the classes derived from the oaBlockage class。 This function returns a boolean value of true if the oaBlockObject is an oaBlockage object。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isBlockage()
obj.isTextDisplay()
绑定状态: 已绑定
Python 调用: obj.isTextDisplay()
This function determines if this object is an instance of one of the classes derived from the oaTextDisplay class。 The function returns a boolean value of true if the oaBlockObject is a textDisplay object。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isTextDisplay()
obj.isOccTextDisplay()
绑定状态: 已绑定
Python 调用: obj.isOccTextDisplay()
This function determines if this object is an instance of one of the classes derived from the oaOccTextDisplay class。 The function returns a boolean value of true if the oaBlockObject is an occTextDisplay。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isOccTextDisplay()
obj.isRef()
绑定状态: 已绑定
Python 调用: obj.isRef()
This function determines if this object is an instance of one of the classes derived from the oaRef class。 The function returns a boolean value of true if the oaBlockObject is an oaRef 。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isRef()
obj.isBoundary()
绑定状态: 已绑定
Python 调用: obj.isBoundary()
This function determines if this object is an instance of one of the classes derived from the oaBoundary class。 This function returns a boolean value of true if the oaBlockObject is an oaBoundary object。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isBoundary()
obj.isVia()
绑定状态: 已绑定
Python 调用: obj.isVia()
This function determines if this object is an instance of one of the classes derived from the oaVia class。 The function returns a boolean value of true if the oaBlockObject is an oaVia 。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isVia()
obj.isViaHeader()
绑定状态: 已绑定
Python 调用: obj.isViaHeader()
This function determines if this object is an instance of one of the classes derived from the oaViaHeader class。 The function returns a boolean value of true if the oaBlockObject is a via header。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.isViaHeader()
obj.getBlock()
绑定状态: 已绑定
Python 调用: obj.getBlock()
This function returns the oaBlock that contains this object。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.getBlock()
obj.getMarkersOwnedBy()
绑定状态: 已绑定
Python 调用: obj.getMarkersOwnedBy()
This function returns a collection of markers in this block。
Python 示例
from oapy._oa import _design
# assume obj is a oaBlockObject
obj.getMarkersOwnedBy()