oaScanChainSet
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaScanChainSet 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaScanChainSet 当前在 oapy 中可用的 Python 接口。
详细说明
The oaScanChainSet class collects a set of oaScanChainInst objects that are intended to be implemented on a single scan chain。 The complete scan chain may have multiple oaScanChainSets。 See oaScanChain for a discussion of the scan chain data model。 The oaScanChainSet class can be observed by deriving from oaObserver
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.destroy() |
| ✅ | obj.getInstances() |
| ✅ | _design.oaScanChainSet.create(scanChain, setType) |
方法说明
obj.destroy()
绑定状态: 已绑定
Python 调用: obj.destroy()
This function destroys this scan chain set, removing it from the database。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainSet
obj.destroy()
obj.getInstances()
绑定状态: 已绑定
Python 调用: obj.getInstances()
This function returns a collection of the scan instances in this set。
Python 示例
from oapy._oa import _design
# assume obj is a oaScanChainSet
obj.getInstances()
_design.oaScanChainSet.create(scanChain, setType)
绑定状态: 已绑定
Python 调用: _design.oaScanChainSet.create(scanChain, setType)
This function creates a new set to collect scan instances in the specified oaScanChain object。 This set may specify the intended order of the instances in the final design, or it may be unordered to indicate that the ordering will be determined later。 At most one set in any scan chain may be unordered。
参数
scanChain: The scan chain in which to create an instance set。setType: Indicates whether this set is ordered or unordered。
异常
oacErrorCanOnlyHaveOneUnorderedSet。
Python 示例
from oapy._oa import _design
_design.oaScanChainSet.create(scanChain, setType)