oaInt2DTblValue
模块: oapy._oa._base
导入: from oapy._oa import _base
概览
oaInt2DTblValue 在 oapy 中可用,可通过 _base 模块访问。
本页汇总 oaInt2DTblValue 当前在 oapy 中可用的 Python 接口。
详细说明
The oaInt2DTblValue class represents a 2D integer lookup table value。 See oaValue for a discussion of the usage of all of the oaValue subclasses。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.get(tbl) |
| ✅ | obj.set(tbl) |
| ✅ | _base.oaInt2DTblValue.create(database, value) |
方法说明
obj.get(tbl)
绑定状态: 已绑定
Python 调用: obj.get(tbl)
This function returns the int2dTbl for this value。
参数
tbl: The returned value。
Python 示例
from oapy._oa import _base
# assume obj is a oaInt2DTblValue
obj.get(tbl)
obj.set(tbl)
绑定状态: 已绑定
Python 调用: obj.set(tbl)
This function sets this value to the specified int2DTbl value。
参数
tbl: The int2DTbl value to set。
Python 示例
from oapy._oa import _base
# assume obj is a oaInt2DTblValue
obj.set(tbl)
_base.oaInt2DTblValue.create(database, value)
绑定状态: 已绑定
Python 调用: _base.oaInt2DTblValue.create(database, value)
This function creates an int2DTbl value in the database specified。
参数
database: The database in which to create the value。value: The int2DTbl value。
异常
oacInvalidDatabase。
Python 示例
from oapy._oa import _base
_base.oaInt2DTblValue.create(database, value)