首页 / tech / oaArraySiteDef

oaArraySiteDef

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

概览

oaArraySiteDefoapy 中可用,可通过 _tech 模块访问。

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

详细说明

The oaArraySiteDef class defines an array of scalar sites。 An array site has a pattern, which is a list of oaScalarSiteDefs and transformations。 This is used to determine the width and height of the siteDef。

方法总览

状态 Python 调用
obj.getSitePattern(sitePattern)
obj.setSitePattern(sitePattern)
_tech.oaArraySiteDef.create(tech, name, type, sitePattern, isSymmetricInX=false, isSymmetricInY=false, isSymmetricInRot=false)

方法说明

obj.getSitePattern(sitePattern)

绑定状态: 已绑定

Python 调用: obj.getSitePattern(sitePattern)

This function fills out the sitePattern of oaScalarSiteDefs for the siteDef。

参数

  • sitePattern: The pattern of oaScalarSiteDefs to fill out。

Python 示例

from oapy._oa import _tech

# assume obj is a oaArraySiteDef
obj.getSitePattern(sitePattern)

obj.setSitePattern(sitePattern)

绑定状态: 已绑定

Python 调用: obj.setSitePattern(sitePattern)

This function sets the sitePattern of oaScalarSiteDefs for the siteDef。

参数

  • sitePattern: The pattern of oaScalarSiteDefs to use。

Python 示例

from oapy._oa import _tech

# assume obj is a oaArraySiteDef
obj.setSitePattern(sitePattern)

_tech.oaArraySiteDef.create(tech, name, type, sitePattern, isSymmetricInX=false, isSymmetricInY=false, isSymmetricInRot=false)

绑定状态: 已绑定

Python 调用: _tech.oaArraySiteDef.create(tech, name, type, sitePattern, isSymmetricInX=false, isSymmetricInY=false, isSymmetricInRot=false)

This function creates an oaArraySiteDef object in the specified technology database with the specified attributes。

参数

  • tech: The technology database in which to create the siteDef。
  • name: The name of the siteDef to create。
  • type: The type of siteDef to create。
  • pattern: The pattern of oaScalarSiteDefs to use。
  • isSymmetricInX: The X symmetry of the siteDef to create。
  • isSymmetricInY: The Y symmetry of the siteDef to create。
  • isSymmetricInRot: The rotation symmetry of the siteDef to create。

异常

  • oacSiteDefExists

Python 示例

from oapy._oa import _tech

_tech.oaArraySiteDef.create(tech, name, type, sitePattern, isSymmetricInX=false, isSymmetricInY=false, isSymmetricInRot=false)