首页 / design / oaModObject

oaModObject

模块: oapy._oa._design 导入: from oapy._oa import _design

概览

oaModObject 在 oapy 中可用,可通过 _design 模块访问。

本页汇总 oaModObject 当前在 oapy 中可用的 Python 接口。

详细说明

This is the abstract base class for all logical objects in a design database。 It implements functions which are common to all logical objects, as well as functions to determine the base types of objects。

方法总览

状态 Python 调用
✅ obj.isModNet()
✅ obj.isModBitNet()
✅ obj.isModTerm()
✅ obj.isModBitTerm()
✅ obj.isModInst()
✅ obj.isModBitInst()
✅ obj.isModAssignment()
✅ obj.isModConnectDef()
✅ obj.getModule()
✅ obj.getTopModule()

方法说明

obj.isModNet()

绑定状态: 已绑定

Python 调用: obj.isModNet()

This function determines if this object is an instance of one of the classes derived from the oaModNet class。 The function returns a boolean value of true if the oaModObject is an oaModNet 。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.isModNet()

obj.isModBitNet()

绑定状态: 已绑定

Python 调用: obj.isModBitNet()

This function determines if this object is an instance of one of the classes derived from the oaModBitNet class。 The function returns a boolean value of true if the oaModObject is an oaModBitNet object。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.isModBitNet()

obj.isModTerm()

绑定状态: 已绑定

Python 调用: obj.isModTerm()

This function determines if this object is an instance of one of the classes derived from the oaModTerm class。 The function returns a boolean value of true if the oaModObject is an oaModTerm 。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.isModTerm()

obj.isModBitTerm()

绑定状态: 已绑定

Python 调用: obj.isModBitTerm()

This function determines if this object is an instance of one of the classes derived from the oaModBitTerm class。 The function returns a boolean value of true if the oaModObject is an oaModBitTerm object。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.isModBitTerm()

obj.isModInst()

绑定状态: 已绑定

Python 调用: obj.isModInst()

This function determines if this object is an instance of one of the classes derived from the oaModInst class。 The function returns a boolean value of true if the oaModObject is an oaModInst 。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.isModInst()

obj.isModBitInst()

绑定状态: 已绑定

Python 调用: obj.isModBitInst()

This function determines if this object is an instance of one of the classes derived from the oaModBitInst class。 The function returns a boolean value of true if the oaModObject is an oaModBitInst object。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.isModBitInst()

obj.isModAssignment()

绑定状态: 已绑定

Python 调用: obj.isModAssignment()

This function determines if this object is an instance of one of the classes derived from the oaModAssignment class。 The function returns a boolean value of true if the oaModObject is an oaModAssignment object。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.isModAssignment()

obj.isModConnectDef()

绑定状态: 已绑定

Python 调用: obj.isModConnectDef()

This function determines if this object is an instance of one of the classes derived from the oaModConnectDef class。 The function returns a boolean value of true if the oaModObject is an oaModConnectDef 。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.isModConnectDef()

obj.getModule()

绑定状态: 已绑定

Python 调用: obj.getModule()

This function returns the oaModule that contains this object。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.getModule()

obj.getTopModule()

绑定状态: 已绑定

Python 调用: obj.getTopModule()

This function returns the top oaModule in the design that contains this object。

Python 示例

from oapy._oa import _design

# assume obj is a oaModObject
obj.getTopModule()