oaFrame
模块: oapy._oa._wafer
导入: from oapy._oa import _wafer
概览
oaFrame 在 oapy 中可用,可通过 _wafer 模块访问。
本页汇总 oaFrame 当前在 oapy 中可用的 Python 接口。
详细说明
The oaFrame class defines a non-printing area into which a series of frame or design instances are placed。 Frames are hierarchical so that in a shuttle-style (multi-project chip) reticle, a lower-level frame can be used to organize the number of different die instances into a larger component, and then a top-level frame can be used to organize the shuttle die into the NxN locations on the reticle。 An oaFrame defines a polygonal boundary。 Two coincident and three collinear points are illegal, and if detected, cause an exception to be thrown。 You can use oaPointArray::compress() to remove these combinations。 The oaFrame class can be observed by deriving from oaObserver
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.destroy() |
| ✅ | obj.getName(name) |
| ✅ | obj.getBoundaryBox(boundaryBox) |
| ✅ | obj.setName(name) |
| ✅ | obj.setBoundaryBox(boundaryBox) |
| ✅ | obj.getFrameInsts() |
| ✅ | obj.getDesignInsts() |
| ✅ | _wafer.oaFrame.create(wafer, name, boundaryBox) |
| ✅ | _wafer.oaFrame.find(wafer, name) |
方法说明
obj.destroy()
绑定状态: 已绑定
Python 调用: obj.destroy()
This function destroys this frame, removing it from the database。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrame
obj.destroy()
obj.getName(name)
绑定状态: 已绑定
Python 调用: obj.getName(name)
This function returns the name of this frame。
参数
name: The oaString to return the name in。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrame
obj.getName(name)
obj.getBoundaryBox(boundaryBox)
绑定状态: 已绑定
Python 调用: obj.getBoundaryBox(boundaryBox)
This function returns the boundary box of this frame in the given boundaryBox argument。
参数
boundaryBox: The boundary box of the oaFrame to return。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrame
obj.getBoundaryBox(boundaryBox)
obj.setName(name)
绑定状态: 已绑定
Python 调用: obj.setName(name)
This function sets the name of this frame to the specified name。 An exception is thrown if another frame has the specified name。
参数
name: The name to give to this frame。
异常
oacFrameAlreadyExists。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrame
obj.setName(name)
obj.setBoundaryBox(boundaryBox)
绑定状态: 已绑定
Python 调用: obj.setBoundaryBox(boundaryBox)
This function changes the boundary box of this frame to the specified boundaryBox。
参数
boundaryBox: The boundary box to set。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrame
obj.setBoundaryBox(boundaryBox)
obj.getFrameInsts()
绑定状态: 已绑定
Python 调用: obj.getFrameInsts()
This function returns the collection of frameInsts associated with this frame。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrame
obj.getFrameInsts()
obj.getDesignInsts()
绑定状态: 已绑定
Python 调用: obj.getDesignInsts()
This function returns the collection of designInsts associated with this frame。
Python 示例
from oapy._oa import _wafer
# assume obj is a oaFrame
obj.getDesignInsts()
_wafer.oaFrame.create(wafer, name, boundaryBox)
绑定状态: 已绑定
Python 调用: _wafer.oaFrame.create(wafer, name, boundaryBox)
This function creates a frame in the specified wafer with the given name and boundary。 The specified boundary is checked to verify that there are at least three points and no collinear or coincident points。 This function throws an exception if a frame with the specified name already exists in the specified wafer。
参数
wafer: The wafer in which to create the frame。name: The name of the frame to create。boundaryBox: The frame boundary box。
异常
oacFrameAlreadyExists。
Python 示例
from oapy._oa import _wafer
_wafer.oaFrame.create(wafer, name, boundaryBox)
_wafer.oaFrame.find(wafer, name)
绑定状态: 已绑定
Python 调用: _wafer.oaFrame.find(wafer, name)
This function searches the specified wafer for a frame with the specified name。 A pointer to the frame is returned if found, otherwise, NULL is returned。
参数
wafer: The wafer to search。name: The name of the frame to find。
Python 示例
from oapy._oa import _wafer
_wafer.oaFrame.find(wafer, name)