oaInstAttrType
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaInstAttrType 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaInstAttrType 当前在 oapy 中可用的 Python 接口。
详细说明
The oaInstAttrType class is an enum wrapper that specifies the various attributes of an instance that can be displayed by an oaAttrDisplay associated with an instance。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaInstAttrTypeEnum Enumeration values: oacLibNameInstAttrType "libName" oacCellNameInstAttrType "cellName" oacViewNameInstAttrType "viewName" oacNameInstAttrType "name" oacNumBitsInstAttrType "numBits" oacIsBoundInstAttrType "isBound"。
构造函数
_design.oaInstAttrType(valueIn)
obj = _design.oaInstAttrType(valueIn)
_design.oaInstAttrType(name)
obj = _design.oaInstAttrType(name)
_design.oaInstAttrType(attr)
obj = _design.oaInstAttrType(attr)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
| ✅ | obj.getValue() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the name string associated with the encapsulated oaInstAttrTypeEnum object。
Python 示例
from oapy._oa import _design
# assume obj is a oaInstAttrType
obj.getName()
obj.getValue()
绑定状态: 已绑定
Python 调用: obj.getValue()
This function returns the value string of this instance attribute type。
Python 示例
from oapy._oa import _design
# assume obj is a oaInstAttrType
obj.getValue()