首页 / base / oaLayerPairConstraintType

oaLayerPairConstraintType

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

概览

oaLayerPairConstraintTypeoapy 中可用,可通过 _base 模块访问。

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

详细说明

The oaLayerPairConstraintType class is an enum wrapper class for oaLayerPairConstraintTypeEnum values。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaLayerPairConstraintTypeEnum Enumeration values: oacMinClearance "minClearance" oacMaxClearance "maxClearance" oacMinSameNetClearance "minSameNetClearance" oacMinExtension "minExtension" oacMaxExtension "maxExtension" oacMinDualExtension "minDualExtension" oacMinOverlap "minOverlap" oacViaStackingAllowed "viaStackingAllowed" oacMinRedundantViaSetback "minRedundantViaSetback" oacMinConcaveCornerOverlap "minConcaveCornerOverlap" oacMinConcaveCornerExtension "minConcaveCornerExtension" oacKeepAlignedShapes "keepAlignedShapes" oacMinEndOfLineExtension "minEndOfLineExtension" oacAllowedClearanceRange "oaAllowedClearanceRange" oacMinViaClearance "oaMinViaClearance" oacIllegalHGatePattern "illegalHGatePattern" oacMaxTouchingDirectionLength "maxTouchingDirectionLength" oacMinCutClassClearance "minCutClassClearance" oacMinExtensionEdge "minExtensionEdge" oacMinGateExtension "minGateExtension" oacMinOuterVertexSpacing "minOuterVertexSpacing" oacMinViaExtension "minViaExtension" oacMinVoltageClearance "minVoltageClearance"。

构造函数

_base.oaLayerPairConstraintType(typeIn)

obj = _base.oaLayerPairConstraintType(typeIn)

_base.oaLayerPairConstraintType(name)

obj = _base.oaLayerPairConstraintType(name)

方法总览

状态 Python 调用
obj.getName()
_base.oaLayerPairConstraintType.validate(typeIn)

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name associated with the encapsulated oaLayerPairConstraintTypeEnum object。

Python 示例

from oapy._oa import _base

# assume obj is a oaLayerPairConstraintType
obj.getName()

_base.oaLayerPairConstraintType.validate(typeIn)

绑定状态: 已绑定

Python 调用: _base.oaLayerPairConstraintType.validate(typeIn)

This function validates typeIn, the constraint type passed to this static function。 If the value is invalid (not in the range of valid oaLayerPairConstraintTypeEnum values), an oacInvalidLayerPairConstraintType exception is thrown。

参数

  • typeIn: an oaLayerPairConstraintTypeEnum value。

异常

  • oacInvalidLayerPairConstraintType

Python 示例

from oapy._oa import _base

_base.oaLayerPairConstraintType.validate(typeIn)