oaViaDef2DTblValue
模块: oapy._oa._tech
导入: from oapy._oa import _tech
概览
oaViaDef2DTblValue 在 oapy 中可用,可通过 _tech 模块访问。
本页汇总 oaViaDef2DTblValue 当前在 oapy 中可用的 Python 接口。
详细说明
The oaViaDef2DTblValue class represents a value object that contains a 2DLookup table whose lookup keys are integers and the value is an oaViaDefArrayValue object。 The primary usage of this value object is to allow users to define a width based lookup table, that returns a list of valid viaDefs。 The oaViaSpec object uses this value object to define the list of vias to be used in routing geometric nets given the width of the two layers that are being connected。 See oaValue for a discussion of the usage of all of the oaValue subclasses。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.get(value) |
| ✅ | obj.set(value) |
| ✅ | _tech.oaViaDef2DTblValue.create(database, value) |
方法说明
obj.get(value)
绑定状态: 已绑定
Python 调用: obj.get(value)
This function returns the value of this viaDef2DTblValue object。
参数
value: The returned value。
Python 示例
from oapy._oa import _tech
# assume obj is a oaViaDef2DTblValue
obj.get(value)
obj.set(value)
绑定状态: 已绑定
Python 调用: obj.set(value)
This function sets the value of this viaDef2DTblValue to the specified value。
参数
value: The value to set。
Python 示例
from oapy._oa import _tech
# assume obj is a oaViaDef2DTblValue
obj.set(value)
_tech.oaViaDef2DTblValue.create(database, value)
绑定状态: 已绑定
Python 调用: _tech.oaViaDef2DTblValue.create(database, value)
This function creates an oaViaDef2DTbl value in the specified database and with the specified value。
参数
database: The database in which to create the value。value: The 2DLookupTbl value。 The default value of this table must be NULL。
异常
oacInvalidDatabase。oacInvalidDefaultValueForTblValue。
Python 示例
from oapy._oa import _tech
_tech.oaViaDef2DTblValue.create(database, value)