oaOccAssignAssignment
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaOccAssignAssignment 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaOccAssignAssignment 当前在 oapy 中可用的 Python 接口。
详细说明
The oaOccAssignAssignment class implements a connection assignment that specifies assignment definition values to replace those specified in a corresponding oaOccConnectDef or a previously encountered oaOccAssignAssignment。 Applications interpreting the connectivity continue searching up the design hierarchy for a connection assignment with the name specified in the oaOccAssignAssignment。 If none is found, the assignment value is the default net name。 This type of connection assignment is useful for integrating a block of intellectual property that contain connection definition。 An oaOccAssignAssignment can be used to insure that connectivity traversal applications search for connection assignments consistently in the entire design hierarchy。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getAssignmentDef(aDef) |
方法说明
obj.getAssignmentDef(aDef)
绑定状态: 已绑定
Python 调用: obj.getAssignmentDef(aDef)
This function retrieves the data associated with this assignment and returns it in the assignmentDef argument。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccAssignAssignment
obj.getAssignmentDef(aDef)