oaTechViaVariantHeader
模块: oapy._oa._tech
导入: from oapy._oa import _tech
概览
oaTechViaVariantHeader 在 oapy 中可用,可通过 _tech 模块访问。
本页汇总 oaTechViaVariantHeader 当前在 oapy 中可用的 Python 接口。
详细说明
The oaTechViaVariantHeader class represents bindings to an oaViaVariant object in a technology database。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | _tech.oaTechViaVariantHeader.find(database, viaVariantName) |
方法说明
_tech.oaTechViaVariantHeader.find(database, viaVariantName)
绑定状态: 已绑定
Python 调用: _tech.oaTechViaVariantHeader.find(database, viaVariantName)
This function searches the specified database for an oaTechViaVariantHeader corresponding to an oaViaVariant in the technology database with the specified name。 An exception is thrown if the database is neither a technology nor a design database。
参数
database: Database to search。viaVariantName: Name of an oaViaVariant object。
异常
oacInvalidObjForViaVariantHeader。
Python 示例
from oapy._oa import _tech
_tech.oaTechViaVariantHeader.find(database, viaVariantName)