首页 / base / oaConstraintParamArray

oaConstraintParamArray

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

概览

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

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

详细说明

The constraintParamArray class implements an array of oaConstraintParam objects。 Arrays of constraint parameters are typically used in creating constraint objects。

构造函数

_base.oaConstraintParamArray(sizeIn=0)

obj = _base.oaConstraintParamArray(sizeIn=0)

方法总览

状态 Python 调用
obj.findParam(def)

方法说明

obj.findParam(def)

绑定状态: 已绑定

Python 调用: obj.findParam(def)

This function searches the constraint param array for a constraint parameter with the specified definition def。 If it is found, the constraint parameter will be returned。 If it is not found, NULL is returned。

参数

  • def: The oaConstraintParamDef to find。

Python 示例

from oapy._oa import _base

# assume obj is a oaConstraintParamArray
obj.findParam(def)