oaAssignmentAttrType
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaAssignmentAttrType 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaAssignmentAttrType 当前在 oapy 中可用的 Python 接口。
详细说明
The oaAssignmentAttrType class is a wrapper for the the enumerated values that represent the different attributes of an oaAssignment object that can be referenced by an oaAttrDisplay object。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaAssignmentAttrTypeEnum Enumeration values: oacNameAssignmentAttrType "name" Specifies the assignment attribute name。
构造函数
_design.oaAssignmentAttrType(vIn)
obj = _design.oaAssignmentAttrType(vIn)
_design.oaAssignmentAttrType(name)
obj = _design.oaAssignmentAttrType(name)
_design.oaAssignmentAttrType(attr)
obj = _design.oaAssignmentAttrType(attr)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
| ✅ | obj.getValue() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
The function returns the name string associated with the encapsulated oaAssignmentAttrTypeEnum object。
Python 示例
from oapy._oa import _design
# assume obj is a oaAssignmentAttrType
obj.getName()
obj.getValue()
绑定状态: 已绑定
Python 调用: obj.getValue()
This function returns the integer enum value of this assign attribute type。
Python 示例
from oapy._oa import _design
# assume obj is a oaAssignmentAttrType
obj.getValue()