oaOccModuleVectorInstBit
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaOccModuleVectorInstBit 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaOccModuleVectorInstBit 当前在 oapy 中可用的 Python 接口。
详细说明
The oaOccModuleVectorInstBit class implements a single bit of an occurrence of a module vectorInst。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getModInst() |
| ✅ | obj.getDef() |
| ✅ | obj.getBitIndex() |
| ✅ | obj.getName(name) |
| ✅ | obj.getPathName(name) |
| ✅ | obj.getName(name) |
| ✅ | obj.getName(ns, name) |
| ✅ | obj.getPathName(pathName) |
| ✅ | obj.getPathName(ns, pathName) |
| ✅ | _design.oaOccModuleVectorInstBit.find(occurrence, baseName, bitIndex) |
方法说明
obj.getModInst()
绑定状态: 已绑定
Python 调用: obj.getModInst()
This function returns the corresponding instance in the module domain。 从 oaOccModuleInst 重新实现。
返回
- A pointer to an oaModModuleVectorInstBit。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getModInst()
obj.getDef()
绑定状态: 已绑定
Python 调用: obj.getDef()
This function returns the vectorInstDef for this vectorInstBit。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getDef()
obj.getBitIndex()
绑定状态: 已绑定
Python 调用: obj.getBitIndex()
This function returns the bitIndex for this vectorInstBit。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getBitIndex()
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
This function returns the name of this occModuleVectorInstBit。
参数
name: The name of the occModuleVectorInstBit to return。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getName(name)
obj.getPathName(name)
绑定状态: 已绑定
Python 调用: obj.getPathName(name)
This function returns the full path name of this instance, relative to the top occurrence in the occurrence hierarchy containing this instance。
参数
name: The pathName of the occModuleVectorInstBit to return。
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getPathName(name)
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getName(name)
obj.getName(ns, name)
绑定状态: 已绑定
Python 调用: obj.getName(ns, name)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getName(ns, name)
obj.getPathName(pathName)
绑定状态: 已绑定
Python 调用: obj.getPathName(pathName)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getPathName(pathName)
obj.getPathName(ns, pathName)
绑定状态: 已绑定
Python 调用: obj.getPathName(ns, pathName)
Python 示例
from oapy._oa import _design
# assume obj is a oaOccModuleVectorInstBit
obj.getPathName(ns, pathName)
_design.oaOccModuleVectorInstBit.find(occurrence, baseName, bitIndex)
绑定状态: 已绑定
Python 调用: _design.oaOccModuleVectorInstBit.find(occurrence, baseName, bitIndex)
This function searches the specified occurrence looking for a vectorInstBit with the specified baseName and bitIndex。 If baseName is hierarchical, this function will descend into lower levels of occurrence hierarchy, expanding the hierarchy and binding the master designs as needed。 The vectorInstBit is returned if found, otherwise NULL is returned。
参数
occurrence: The occurrence to search in。baseName: The base name of the instance to find。bitIndex: The bit index of the instance to find。
返回
- A pointer to an oaOccVectorInstBit。
Python 示例
from oapy._oa import _design
_design.oaOccModuleVectorInstBit.find(occurrence, baseName, bitIndex)