oaOccObject
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaOccObject 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaOccObject 当前在 oapy 中可用的 Python 接口。
详细说明
This in an abstract base class for all occurrence objects in a design database。 It implements functions which are common to all occurrence objects, as well as functions to determine the base types of objects。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.isOccNet() |
| ✅ | obj.isOccBitNet() |
| ✅ | obj.isOccTerm() |
| ✅ | obj.isOccBitTerm() |
| ✅ | obj.isOccInst() |
| ✅ | obj.isOccBitInst() |
| ✅ | obj.isOccAssignment() |
| ✅ | obj.isOccConnectDef() |
| ✅ | obj.getOccurrence() |
| ✅ | obj.getTopOccurrence() |
方法说明
obj.isOccNet()
绑定状态: 已绑定
Python 调用: obj.isOccNet()
This function determines if this object is an instance of one of the classes derived from the oaOccNet class。 The function returns a boolean value of true if the oaOccObject is an oaOccNet 。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.isOccNet()
obj.isOccBitNet()
绑定状态: 已绑定
Python 调用: obj.isOccBitNet()
This function determines if this object is an instance of one of the classes derived from the oaOccBitNet class。 The function returns a boolean value of true if the oaOccObject is an oaOccBitNet object。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.isOccBitNet()
obj.isOccTerm()
绑定状态: 已绑定
Python 调用: obj.isOccTerm()
This function determines if this object is an instance of one of the classes derived from the oaOccTerm class。 The function returns a boolean value of true if the oaOccObject is an oaOccTerm 。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.isOccTerm()
obj.isOccBitTerm()
绑定状态: 已绑定
Python 调用: obj.isOccBitTerm()
This function determines if this object is an instance of one of the classes derived from the oaOccBitTerm class。 The function returns a boolean value of true if the oaOccObject is an oaOccBitTerm object。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.isOccBitTerm()
obj.isOccInst()
绑定状态: 已绑定
Python 调用: obj.isOccInst()
This function determines if this object is an instance of one of the classes derived from the oaOccInst class。 The function returns a boolean value of true if the oaOccObject is an oaOccInst 。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.isOccInst()
obj.isOccBitInst()
绑定状态: 已绑定
Python 调用: obj.isOccBitInst()
This function determines if this object is an instance of one of the classes derived from the oaOccBitInst class。 The function returns a boolean value of true if the oaOccObject is an oaOccBitInst object。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.isOccBitInst()
obj.isOccAssignment()
绑定状态: 已绑定
Python 调用: obj.isOccAssignment()
This function determines if this object is an instance of one of the classes derived from the oaOccAssignment class。 The function returns a boolean value of true if the oaOccObject is an oaOccAssignment object。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.isOccAssignment()
obj.isOccConnectDef()
绑定状态: 已绑定
Python 调用: obj.isOccConnectDef()
This function determines if this object is an instance of one of the classes derived from the oaOccConnectDef class。 The function returns a boolean value of true if the oaOccObject is an oaOccConnectDef 。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.isOccConnectDef()
obj.getOccurrence()
绑定状态: 已绑定
Python 调用: obj.getOccurrence()
This function returns the oaOccurrence that contains this object。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.getOccurrence()
obj.getTopOccurrence()
绑定状态: 已绑定
Python 调用: obj.getTopOccurrence()
This function returns the top oaOccurrence in the design that contains this object。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccObject
obj.getTopOccurrence()