oaNetAttrType
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaNetAttrType 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaNetAttrType 当前在 oapy 中可用的 Python 接口。
详细说明
The oaNetAttrType class is an enum wrapper class that represents the different attributes of an oaNet object that can be displayed by an oaAttrDisplay object associated with a net。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaNetAttrTypeEnum Enumeration values: oacNameNetAttrType "name" oacSigTypeNetAttrType "sigType" oacIsGlobalNetAttrType "isGlobal" oacIsImplicitNetAttrType "isImplicit" oacIsEmptyNetAttrType "isEmpty" oacNumBitsNetAttrType "numBits"。
构造函数
_design.oaNetAttrType(valueIn)
obj = _design.oaNetAttrType(valueIn)
_design.oaNetAttrType(name)
obj = _design.oaNetAttrType(name)
_design.oaNetAttrType(attr)
obj = _design.oaNetAttrType(attr)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
| ✅ | obj.getValue() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the name string associated with the encapsulated oaNetAttrTypeEnum object。
Python 示例
from oapy._oa import _design
# assume obj is a oaNetAttrType
obj.getName()
obj.getValue()
绑定状态: 已绑定
Python 调用: obj.getValue()
This function returns the value string of this net attribute type。
Python 示例
from oapy._oa import _design
# assume obj is a oaNetAttrType
obj.getValue()