oaConnectDef
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaConnectDef 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaConnectDef 当前在 oapy 中可用的 Python 接口。
详细说明
The oaConnectDef class is an abstract base for all types of connection definitions。 A connection definition associates an assignment definition (defined by an oaAssignmentDef ) with either a net or a terminal。 The oaConnectDef classes allow you to specify that the net name of a connection may be assigned a different name。 The new name is specified by a corresponding oaAssignment 。 If there is no corresponding oaAssignment , the default name specified in the oaConnectDef is used。 An oaConnectDef is usually associated with a global net or a terminal representing a global net。 This provides you with easier specification of multiple power supplies easier specification of substrate connections the use of parameterized power and ground symbols The oaConnectDef class can be observed by deriving from oaObserver
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.destroy() |
| ✅ | obj.getAssignmentDef(assignmentDef) |
方法说明
obj.destroy()
绑定状态: 已绑定
Python 调用: obj.destroy()
This function destroys this connection definition。
Python 示例
from oapy._oa import _design
# assume obj is a oaConnectDef
obj.destroy()
obj.getAssignmentDef(assignmentDef)
绑定状态: 已绑定
Python 调用: obj.getAssignmentDef(assignmentDef)
This function returns the connection definition of this oaConnectDef in the specified assignmentDef。
Python 示例
from oapy._oa import _design
# assume obj is a oaConnectDef
obj.getAssignmentDef(assignmentDef)