首页 / tech / oaViaTopology2DTblValue

oaViaTopology2DTblValue

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

概览

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

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

详细说明

The oaViaTopology2DTblValue class represents a value object that contains a 2DLookup table whose lookup keys are integers, and the value is an oaViaTopologyArrayValue 。

方法总览

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

方法说明

obj.get(value)

绑定状态: 已绑定

Python 调用: obj.get(value)

This function returns the oa2DLookupTbl data associated with this oaViaTopology2DTblValue。

参数

  • value: Returned oa2DLookupTbl 。

Python 示例

from oapy._oa import _tech

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

obj.set(value)

绑定状态: 已绑定

Python 调用: obj.set(value)

This function sets the specified oa2DLookupTbl data on this oaViaTopology2DTblValue。

参数

  • value: oa2DLookupTbl data to set on this oaViaTopology2DTblValue。

异常

  • oacInvalidDefaultValueForTblValue
  • oacIllDefinedTblSpecified

Python 示例

from oapy._oa import _tech

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

_tech.oaViaTopology2DTblValue.create(database, value)

绑定状态: 已绑定

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

This function creates an oaViaTopology2DTblValue in the specified database。 The oaViaTopology2DTblValue contains a 2DLookup table that can be used to look up an array of oaViaTopologies with two integers。

参数

  • database: Database in which to create the oaViaTopology2DTbl value。
  • value: An oa2DLookupTbl 。

异常

  • oacInvalidObjForValue
  • oacInvalidDefaultValueForTblValue
  • oacIllDefinedTblSpecified

Python 示例

from oapy._oa import _tech

_tech.oaViaTopology2DTblValue.create(database, value)