oaModConnectDef
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaModConnectDef 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaModConnectDef 当前在 oapy 中可用的 Python 接口。
详细说明
The oaModConnectDef class is an abstract base for both terminal and net connection definitions in the module domain。 A connection definition associates an assignment definition (defined by an oaAssignmentDef ) with either a net or a terminal。 The oaModConnectDef classes are used to allow the actual connection of a ModNet or a ModTerm to be specified by a parent instance in the design hierarchy。 That specification is done by creating an oaModAssignment object。 This is primarily used to handle multiple power supplies and substrate connections。 The usage of oaModConnectDefs and oaModAssignments exactly parallels of the usage of oaConnectDef and oaAssignment objects in the block domain。 See oaConnectDef for more information。 The oaModConnectDef class can be observed by deriving from oaObserver
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.destroy() |
| ✅ | obj.getAssignmentDef(assignmentDef) |
方法说明
obj.destroy()
绑定状态: 已绑定
Python 调用: obj.destroy()
This function destroys this connection definiton。
Python 示例
from oapy._oa import _design
# assume obj is a oaModConnectDef
obj.destroy()
obj.getAssignmentDef(assignmentDef)
绑定状态: 已绑定
Python 调用: obj.getAssignmentDef(assignmentDef)
This function returns the connection definition of this oaModConnectDef in the specified assignmentDef。
Python 示例
from oapy._oa import _design
# assume obj is a oaModConnectDef
obj.getAssignmentDef(assignmentDef)