oaFrameInst
模块: oapy._oa._wafer
导入: from oapy._oa import _wafer
概览
oaFrameInst 在 oapy 中可用,可通过 _wafer 模块访问。
本页汇总 oaFrameInst 当前在 oapy 中可用的 Python 接口。
详细说明
An oaFrameInst is an instance of an oaFrame in its parent which is either another oaFrame , or an oaReticle 。 They provide a means where a hierarchy of oaFrames can be used to layout the contents of an oaReticle 。 At the bottom of this hierarchy will be oaDesignInst objects that refer to oaDesign databases that contain the actual geometry that will be printed on the oaReticle 。 The oaFrameInst class can be observed by deriving from oaObserver
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.destroy() |
| ✅ | obj.getName(name) |
| ✅ | obj.getMaster() |
| ✅ | obj.getMag() |
| ✅ | obj.getOrigin(origin) |
| ✅ | obj.getOrient() |
| ✅ | obj.getTransform(xform) |
| ✅ | obj.getOwner() |
| ✅ | obj.setName(name) |
| ✅ | obj.setOrigin(origin) |
| ✅ | obj.setOrient(orient) |
| ✅ | obj.setTransform(xform) |
| ✅ | obj.setMag(mag) |
| ✅ | _wafer.oaFrameInst.create(reticle, master, name, mag, xform) |
| ✅ | _wafer.oaFrameInst.create(frame, master, name, mag, xform) |
| ✅ | _wafer.oaFrameInst.find(wafer, name) |
方法说明
obj.destroy()
绑定状态: 已绑定
Python 调用: obj.destroy()
This function destroys this frame instance, removing it from the database。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.destroy()
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
This function returns the name of this frame instance in the given name argument。
参数
name: The name to be filled out with the name of this frame instance。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.getName(name)
obj.getMaster()
绑定状态: 已绑定
Python 调用: obj.getMaster()
This function returns the master frame of this frame instance。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.getMaster()
obj.getMag()
绑定状态: 已绑定
Python 调用: obj.getMag()
This function returns the magnification of this frame instance。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.getMag()
obj.getOrigin(origin)
绑定状态: 已绑定
Python 调用: obj.getOrigin(origin)
This function fills out 'origin' with the origin of this frame instance。
参数
origin: The origin to be filled out。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.getOrigin(origin)
obj.getOrient()
绑定状态: 已绑定
Python 调用: obj.getOrient()
This function returns the orientation of this frame instance。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.getOrient()
obj.getTransform(xform)
绑定状态: 已绑定
Python 调用: obj.getTransform(xform)
This function fills out 'xform' with the transform of this frame instance。
参数
xform: The transform to be filled out。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.getTransform(xform)
obj.getOwner()
绑定状态: 已绑定
Python 调用: obj.getOwner()
This function returns a pointer to object that owns this frame instance。 The owning object can be either an oaReticle or an oaFrame。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.getOwner()
obj.setName(name)
绑定状态: 已绑定
Python 调用: obj.setName(name)
This function sets the name of this frame instance to the specified 'name'。 An exception is thrown if another frame instance already has the specified name。
参数
name: The new name of the frame instance。
异常
oacFrameInstAlreadyExists。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.setName(name)
obj.setOrigin(origin)
绑定状态: 已绑定
Python 调用: obj.setOrigin(origin)
This function sets the origin value for this frame instance。
参数
origin: The new origin。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.setOrigin(origin)
obj.setOrient(orient)
绑定状态: 已绑定
Python 调用: obj.setOrient(orient)
This function sets the orientation for this frame instance。
参数
orient: The new orientation。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.setOrient(orient)
obj.setTransform(xform)
绑定状态: 已绑定
Python 调用: obj.setTransform(xform)
This function sets the transform for this frame instance。
参数
xform: The new transform。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.setTransform(xform)
obj.setMag(mag)
绑定状态: 已绑定
Python 调用: obj.setMag(mag)
This function sets the magnification of this frame instance to the specified value。
参数
mag: The new magnification。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrameInst
obj.setMag(mag)
_wafer.oaFrameInst.create(reticle, master, name, mag, xform)
绑定状态: 已绑定
Python 调用: _wafer.oaFrameInst.create(reticle, master, name, mag, xform)
This function creates an oaDesignInst object in the specified frame with the specified attributes。
参数
frame: The frame object from which this frame instance is instantiated。master: The master frame。name: The name of the frame instance。mag: The magnification。xform: The transformation。
异常
oacFrameInstAlreadyExists。oacFrameInstOwnerAndMasterDiffWafer。oacFrameInstOwnerAndMasterAreSame。
Python 示例
from oapy._oa import _wafer
_wafer.oaFrameInst.create(reticle, master, name, mag, xform)
_wafer.oaFrameInst.create(frame, master, name, mag, xform)
绑定状态: 已绑定
Python 调用: _wafer.oaFrameInst.create(frame, master, name, mag, xform)
This function creates an oaFrameInst object in the specified reticle with the specified attributes。
参数
reticle: The reticle object from which this frame instance is instantiated。master: The master frame。name: The name of the frame instance。mag: The magnification。xform: The transformation。
异常
oacFrameInstAlreadyExists。oacFrameInstOwnerAndMasterDiffWafer。
Python 示例
from oapy._oa import _wafer
_wafer.oaFrameInst.create(frame, master, name, mag, xform)
_wafer.oaFrameInst.find(wafer, name)
绑定状态: 已绑定
Python 调用: _wafer.oaFrameInst.find(wafer, name)
This function searches the specified wafer for a frameInst with the given name。 A pointer to the frameInst is returned if found, otherwise, NULL is returned。
参数
wafer: The wafer to search。name: The frame instance name to find。
Python 示例
from oapy._oa import _wafer
_wafer.oaFrameInst.find(wafer, name)