首页 / tech / oaLayerArrayValue

oaLayerArrayValue

模块: oapy._oa._tech 导入: from oapy._oa import _tech

概览

oaLayerArrayValueoapy 中可用,可通过 _tech 模块访问。

本页汇总 oaLayerArrayValue 当前在 oapy 中可用的 Python 接口。

详细说明

The oaLayerArrayValue represents a value that contains an array of oaLayerNums。 See oaValue for a discussion of the usage of all of the oaValue subclasses。

方法总览

状态 Python 调用
obj.get(value)
obj.set(value)
_tech.oaLayerArrayValue.create(database, value)
_tech.oaLayerArrayValue.create(database, value)

方法说明

obj.get(value)

绑定状态: 已绑定

Python 调用: obj.get(value)

This function returns the oaLayerArray for this value。

参数

  • value: The returned value。

Python 示例

from oapy._oa import _tech

# assume obj is a oaLayerArrayValue
obj.get(value)

obj.set(value)

绑定状态: 已绑定

Python 调用: obj.set(value)

This function sets the value to the specified oaLayerArray。

参数

  • value: The layer array to set。

Python 示例

from oapy._oa import _tech

# assume obj is a oaLayerArrayValue
obj.set(value)

_tech.oaLayerArrayValue.create(database, value)

绑定状态: 已绑定

Python 调用: _tech.oaLayerArrayValue.create(database, value)

This function is deprecated and is retained to ensure compatibility with previous versions of OpenAccess。 Use the create function overload that takes a const oaLayerArray reference instead。 This function creates a layer array value in the specified database。

参数

  • database: The database in which to create the value。
  • value: The layer array value。

异常

  • oacInvalidDatabase
  • oacInvalidDatabaseForValue

Python 示例

from oapy._oa import _tech

_tech.oaLayerArrayValue.create(database, value)

_tech.oaLayerArrayValue.create(database, value)

绑定状态: 已绑定

Python 调用: _tech.oaLayerArrayValue.create(database, value)

This function creates a layer array value in the specified database。

参数

  • database: The database in which to create the value。
  • value: The layer array。

异常

  • oacInvalidDatabase
  • oacInvalidDatabaseForValue

Python 示例

from oapy._oa import _tech

_tech.oaLayerArrayValue.create(database, value)