oaViaTopologyArrayValue
模块: oapy._oa._tech
导入: from oapy._oa import _tech
概览
oaViaTopologyArrayValue 在 oapy 中可用,可通过 _tech 模块访问。
本页汇总 oaViaTopologyArrayValue 当前在 oapy 中可用的 Python 接口。
详细说明
The oaViaTopologyArrayValue represents a value object that contains an array of oaViaTopology objects。 An oaViaTopologyArrayValue is used in the specification of an oacValidRoutingVias constraint。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.get(value) |
| ✅ | obj.set(value) |
| ✅ | _tech.oaViaTopologyArrayValue.create(database, value) |
方法说明
obj.get(value)
绑定状态: 已绑定
Python 调用: obj.get(value)
This function returns the oaViaTopologyArray for this oaViaTopologyArrayValue。 Note: The returned value array might contain unbound oaViaTopology objects。 This happens if the associated oaViaDef or oaViaVariant cannot be bound, such as when it has been deleted or cannot be accessed。 All information about the object (name, type, and owner) is available from the oaViaTopology object。
参数
value: Returned oaViaTopologyArray 。
Python 示例
from oapy._oa import _tech
# assume obj is a oaViaTopologyArrayValue
obj.get(value)
obj.set(value)
绑定状态: 已绑定
Python 调用: obj.set(value)
This function sets the specified oaViaTopologyArray value on this oaViaTopologyArrayValue。
参数
value: An oaViaTopologyArray to set on this oaViaTopologyArrayValue。
异常
oacEmptyArrayValue。
Python 示例
from oapy._oa import _tech
# assume obj is a oaViaTopologyArrayValue
obj.set(value)
_tech.oaViaTopologyArrayValue.create(database, value)
绑定状态: 已绑定
Python 调用: _tech.oaViaTopologyArrayValue.create(database, value)
This function creates an oaViaTopologyArray value in the specified database。
参数
database: Database in which to create the oaViaTopologyArrayValue。value: An oaViaTopologyArray 。
异常
oacInvalidObjForValue。oacEmptyArrayValue。
Python 示例
from oapy._oa import _tech
_tech.oaViaTopologyArrayValue.create(database, value)