首页 / wafer / oaDesignInst

oaDesignInst

模块: oapy._oa._wafer 导入: from oapy._oa import _wafer

概览

oaDesignInstoapy 中可用,可通过 _wafer 模块访问。

本页汇总 oaDesignInst 当前在 oapy 中可用的 Python 接口。

详细说明

An oaDesignInst represents an instance of an oaDesign in either an oaFrame or an oaReticle 。 The instance specifies the actual geometry for printing on a reticle, and ultimately on a wafer。 All of the geometry for a reticle is contained in oaDesignInsts that exist either directly in the oaReticle or in a hierarchy of oaFrames that are instantiated on the reticle。 The layer numbers for the wafer, which are specified on the oaImage that points to the oaReticle , do not have to use the same layer numbers as the oaDesign databases that are instantiated on the reticle。 The layer numbers for the oaDesign are specified in the oaTech that it is connected to。 Different oaDesigns used on a given reticle may be connected to different oaTech databases。 The oaDesignInst may contain a mapping from the various wafer layer numbers it is used with to the corresponding layer number in its oaDesign 。 If the oaDesignInst does not have a layer mapping, all layers from its oaDesign are applied to each layer of the reticle。 This option is used for features such as alignment marks that are intended to appear on all reticles.” The size of shapes contained in an instantiated oaDesign depends on several factors。 The size of a shape starts with the size as specified by the coordinates of the shape in the design database and the DBUPerUU and oaUserUnitsType for that design database。 The design database need not use the same values as the oaWafer 。 Then the size is scaled according to the product of all the magnification factors on the oaDesignInst and its parent oaFrameInsts。 The result is the size of the feature on the Wafer。 In addition, shapes are scaled by the scale factor on the oaReticle to get their size as printed on the oaReticle 。 The oaDesignInst class can be observed by deriving from oaObserver

方法总览

状态 Python 调用
obj.destroy()
obj.getName(name)
obj.getLibName(name)
obj.getLibName(nameSpace, name)
obj.getCellName(name)
obj.getCellName(nameSpace, name)
obj.getViewName(name)
obj.getViewName(nameSpace, name)
obj.getMag()
obj.getOrigin(origin)
obj.getOrient()
obj.getTransform(xform)
obj.getOwner()
obj.getLayerMapping(layers)
obj.getReticleUsage()
obj.isPrintable()
obj.hasLayerMapping()
obj.setName(name)
obj.setOrigin(origin)
obj.setOrient(orient)
obj.setTransform(xform)
obj.setPrintable(value)
obj.setMag(mag)
obj.setLayerMapping(layers)
obj.setReticleUsage(reticalUsage)
_wafer.oaDesignInst.create(reticle, name, libName, cellName, viewName, magnification, xform, isPrintable, reticleUsage)
_wafer.oaDesignInst.create(frame, name, libName, cellName, viewName, magnification, xform, isPrintable, reticleUsage)
_wafer.oaDesignInst.find(wafer, name)

方法说明

obj.destroy()

绑定状态: 已绑定

Python 调用: obj.destroy()

This function destroys this design instance, removing it from the database。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.destroy()

obj.getName(name)

绑定状态: 已绑定

Python 调用: obj.getName(name)

This function returns the name of this design instance in the specified name。

参数

  • name: The name to be filled out with the name of this design instance。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getName(name)

obj.getLibName(name)

绑定状态: 已绑定

Python 调用: obj.getLibName(name)

This function returns the library name associated with this design instance in the nameSpace specified。

参数

  • nameSpace: The name space in which to return the name。
  • name: The string to fill out with the library name。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getLibName(name)

obj.getLibName(nameSpace, name)

绑定状态: 已绑定

Python 调用: obj.getLibName(nameSpace, name)

This function returns the library name associated with this design instance in the specified name。

参数

  • name: The string to fill out with the library name。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getLibName(nameSpace, name)

obj.getCellName(name)

绑定状态: 已绑定

Python 调用: obj.getCellName(name)

This function returns the cell name associated with this design instance in the nameSpace specified。

参数

  • nameSpace: The name space in which to return the name。
  • name: The string to fill out with the cell name。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getCellName(name)

obj.getCellName(nameSpace, name)

绑定状态: 已绑定

Python 调用: obj.getCellName(nameSpace, name)

This function returns the cell name associated with this design instance in the specified oaScalarName 。

参数

  • name: The string to fill out with the cell name。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getCellName(nameSpace, name)

obj.getViewName(name)

绑定状态: 已绑定

Python 调用: obj.getViewName(name)

This function returns the view name associated with this design instance in the nameSpace specified。

参数

  • nameSpace: The name space in which to return the name。
  • name: The string to fill out with the view name。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getViewName(name)

obj.getViewName(nameSpace, name)

绑定状态: 已绑定

Python 调用: obj.getViewName(nameSpace, name)

This function returns the view name associated with this design instance in the specified oaScalarName 。

参数

  • name: The string to fill out with the view name。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getViewName(nameSpace, name)

obj.getMag()

绑定状态: 已绑定

Python 调用: obj.getMag()

This function returns the magnification of this design instance。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getMag()

obj.getOrigin(origin)

绑定状态: 已绑定

Python 调用: obj.getOrigin(origin)

This function fills out 'origin' with the origin of this design instance。

参数

  • origin: The origin to be filled out。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getOrigin(origin)

obj.getOrient()

绑定状态: 已绑定

Python 调用: obj.getOrient()

This function returns the orientation of this design instance。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getOrient()

obj.getTransform(xform)

绑定状态: 已绑定

Python 调用: obj.getTransform(xform)

This function fills out 'xform' with the transform of this design instance。

参数

  • xform: The transform to be filled out。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getTransform(xform)

obj.getOwner()

绑定状态: 已绑定

Python 调用: obj.getOwner()

This function returns a pointer to object that owns this design instance。 The owning object can be either an oaReticle or an oaFrame 。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getOwner()

obj.getLayerMapping(layers)

绑定状态: 已绑定

Python 调用: obj.getLayerMapping(layers)

This function returns the mapping layers assoicated with this design instance。 This function throws an exception if this design instance does not have any mapping layers。

参数

  • layers: The returned mapping layers。

异常

  • oacDesignInstInvalidMapLayer

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getLayerMapping(layers)

obj.getReticleUsage()

绑定状态: 已绑定

Python 调用: obj.getReticleUsage()

This function returns the reticle usage of this design instance。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.getReticleUsage()

obj.isPrintable()

绑定状态: 已绑定

Python 调用: obj.isPrintable()

This function returns a boolean indicating whether or not this design instance is printable。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.isPrintable()

obj.hasLayerMapping()

绑定状态: 已绑定

Python 调用: obj.hasLayerMapping()

This function returns a boolean indicating whether or not this design instance has any layer mapping。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.hasLayerMapping()

obj.setName(name)

绑定状态: 已绑定

Python 调用: obj.setName(name)

This function sets the name of this design instance to the specified 'name'。 An exception is thrown if another design instance already has the specified name。

参数

  • name: The new name of the design instance。

异常

  • oacDesignInstAlreadyExists

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.setName(name)

obj.setOrigin(origin)

绑定状态: 已绑定

Python 调用: obj.setOrigin(origin)

This function sets the origin value for this design instance。

参数

  • origin: The new origin。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.setOrigin(origin)

obj.setOrient(orient)

绑定状态: 已绑定

Python 调用: obj.setOrient(orient)

This function sets the orientation for this design instance。

参数

  • orient: The new orientation。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.setOrient(orient)

obj.setTransform(xform)

绑定状态: 已绑定

Python 调用: obj.setTransform(xform)

This function sets the transform for this design instance。

参数

  • xform: The new transform。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.setTransform(xform)

obj.setPrintable(value)

绑定状态: 已绑定

Python 调用: obj.setPrintable(value)

This function sets the isPrintable attribute of this design instance to the specified value。

参数

  • value: The new value indicating whether or not this design instance is printable。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.setPrintable(value)

obj.setMag(mag)

绑定状态: 已绑定

Python 调用: obj.setMag(mag)

This function sets the magnification of this design instance to the specified value。

参数

  • mag: The new magnification。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.setMag(mag)

obj.setLayerMapping(layers)

绑定状态: 已绑定

Python 调用: obj.setLayerMapping(layers)

This function sets the mapping layers of this design instance to the given layers。

参数

  • layers: The mapping layers。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.setLayerMapping(layers)

obj.setReticleUsage(reticalUsage)

绑定状态: 已绑定

Python 调用: obj.setReticleUsage(reticalUsage)

This function sets the reticle usage of this design instance to the given reticle usage。

参数

  • reticalUsage: The new reticle usage。

Python 示例

from oapy._oa import _wafer

# assume obj is a oaDesignInst
obj.setReticleUsage(reticalUsage)

_wafer.oaDesignInst.create(reticle, name, libName, cellName, viewName, magnification, xform, isPrintable, reticleUsage)

绑定状态: 已绑定

Python 调用: _wafer.oaDesignInst.create(reticle, name, libName, cellName, viewName, magnification, xform, isPrintable, reticleUsage)

This function creates an oaDesignInst object with the specified attributes。

参数

  • frame: The frame in which the instance is instantiated。
  • name: The name of the instance。
  • libName: The library name of the master design。
  • cellName: The cell name of the master design。
  • viewName: The view name of the master design。
  • magnification: The magnification value for the instance。
  • xform: The transform for the instance。
  • isPrintable: Whether the instance is printable。
  • reticleUsage: The reticle usage for the instance。

异常

  • oacDesignInstAlreadyExists

Python 示例

from oapy._oa import _wafer

_wafer.oaDesignInst.create(reticle, name, libName, cellName, viewName, magnification, xform, isPrintable, reticleUsage)

_wafer.oaDesignInst.create(frame, name, libName, cellName, viewName, magnification, xform, isPrintable, reticleUsage)

绑定状态: 已绑定

Python 调用: _wafer.oaDesignInst.create(frame, name, libName, cellName, viewName, magnification, xform, isPrintable, reticleUsage)

This function creates an oaDesignInst object with the specified attributes。

参数

  • reticle: The reticle in which the instance is instantiated。
  • name: The name of the instance。
  • libName: The library name of the master design。
  • cellName: The cell name of the master design。
  • viewName: The view name of the master design。
  • magnification: The magnification value for the instance。
  • xform: The transform for the instance。
  • isPrintable: Whether the instance is printable。
  • reticleUsage: The reticle usage for the instance。

异常

  • oacDesignInstAlreadyExists

Python 示例

from oapy._oa import _wafer

_wafer.oaDesignInst.create(frame, name, libName, cellName, viewName, magnification, xform, isPrintable, reticleUsage)

_wafer.oaDesignInst.find(wafer, name)

绑定状态: 已绑定

Python 调用: _wafer.oaDesignInst.find(wafer, name)

This function searches the specified wafer for a designInst with the given name。 A pointer to the designInst is returned if found; otherwise, NULL is returned。

参数

  • wafer: The wafer to search。
  • name: The design instance name to find。

Python 示例

from oapy._oa import _wafer

_wafer.oaDesignInst.find(wafer, name)