首页 / design / oaConnectDef

oaConnectDef

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

概览

oaConnectDefoapy 中可用,可通过 _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 。 See oaNetConnectDef and oaTermConnectDef for more information about connection definitions on net and terminal objects。 Also see oaAssignment for information regarding how assignments are made and interpreted。 This functionality is also known as inherited connections。 Note: Not all applications support resolving connectivity specified with connection definitions and assignments。 You should verify that downstream consumers of the data are able to resolve such connectivity。

方法总览

状态 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)