首页 / base / oaLayerArrayConstraintType

oaLayerArrayConstraintType

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

概览

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

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

详细说明

The oaLayerArrayConstraintType class is an enum wrapper class for oaLayerArrayConstraintTypeEnum values。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaLayerArrayConstraintTypeEnum Enumeration values: oacMinTouchingDirectionExtension "minTouchingDirectionExtension" oacMinTouchingDirectionClearance "minTouchingDirectionClearance" oacMinClearanceOverLayer "minClearanceOverLayer" oacMinParallelViaClearance "oaMinParallelViaClearance" oacDummyPolyExtension "oaDummyPolyExtension" oacMaxPolyLength "maxPolyLength" oacMinInnerVertexSpacing "minInnerVertexSpacing" oacValidRoutingLPPs "oacValidRoutingLPPs"。

构造函数

_base.oaLayerArrayConstraintType(typeIn)

obj = _base.oaLayerArrayConstraintType(typeIn)

_base.oaLayerArrayConstraintType(name)

obj = _base.oaLayerArrayConstraintType(name)

方法总览

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

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the string name of the enum value represented by this oaLayerArrayConstraintType。

Python 示例

from oapy._oa import _base

# assume obj is a oaLayerArrayConstraintType
obj.getName()

_base.oaLayerArrayConstraintType.validate(typeIn)

绑定状态: 已绑定

Python 调用: _base.oaLayerArrayConstraintType.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 oaLayerArrayConstraintTypeEnum values), an oacInvalidLayerArrayConstraintType exception is thrown。

参数

  • typeIn: an oaLayerArrayConstraintTypeEnum value。

异常

  • oacInvalidLayerArrayConstraintType

Python 示例

from oapy._oa import _base

_base.oaLayerArrayConstraintType.validate(typeIn)