oaViaVariantHeader
模块: oapy._oa._tech
导入: from oapy._oa import _tech
概览
oaViaVariantHeader 在 oapy 中可用,可通过 _tech 模块访问。
本页汇总 oaViaVariantHeader 当前在 oapy 中可用的 Python 接口。
详细说明
The oaViaVariantHeader class is responsible for managing the binding to a specific oaViaVariant , whether that oaViaVariant exists in the same or in a referenced technology database, or in a design database。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getViaVariantName(name) |
| ✅ | obj.getViaVariant() |
| ✅ | obj.isBound() |
方法说明
obj.getViaVariantName(name)
绑定状态: 已绑定
Python 调用: obj.getViaVariantName(name)
This function returns the name of the oaViaVariant that this oaViaVariantHeader references。
参数
name: Returned name。
Python 示例
from oapy._oa import _tech
# assume obj is a oaViaVariantHeader
obj.getViaVariantName(name)
obj.getViaVariant()
绑定状态: 已绑定
Python 调用: obj.getViaVariant()
This function returns a pointer to the oaViaVariant that this header references。 NULL is returned if the oaViaVariant is unavailable, which can occur if the corresponding technology database is not bound。
Python 示例
from oapy._oa import _tech
# assume obj is a oaViaVariantHeader
obj.getViaVariant()
obj.isBound()
绑定状态: 已绑定
Python 调用: obj.isBound()
This function returns a Boolean value indicating whether or not this oaViaVariantHeader is bound。
Python 示例
from oapy._oa import _tech
# assume obj is a oaViaVariantHeader
obj.isBound()