OptimizationBuilderOptimizationConstraint_Struct Struct — NXOpen Python API Reference 12.0.0 documentation

# OptimizationBuilderOptimizationConstraint_Struct Struct

NXOpen.Optimization.OptimizationBuilder.OptimizationConstraint is an alias for NXOpen.Optimization.OptimizationBuilderOptimizationConstraint_Struct

class `NXOpen.Optimization.``OptimizationBuilderOptimizationConstraint_Struct`

  Bases: `object`

  Defined constraint structure .

  Constructor: NXOpen.Optimization.OptimizationBuilder.OptimizationConstraint()

# Fields

Field | Description
--- | ---
AttributeName | Attribute name
AttributeObject | Object which the attribute belongs to, it makes sense with geometry design variable type
ConstraintType | Constraint type
ConstraintLowerLimitValue | Lower limit value
ConstraintUpperLimitValue | Upper limit value
ConstraintLimitType | constraint limit type, lower type or upper type

## AttributeName

`OptimizationBuilderOptimizationConstraint_Struct.``AttributeName`

  Attribute name `-------------------------------------`

  Field Value Type:str

## AttributeObject

`OptimizationBuilderOptimizationConstraint_Struct.``AttributeObject`

  Object which the attribute belongs to, it makes sense with geometry design variable type `-------------------------------------`

  Field Value Type:`NXOpen.NXObject`

## ConstraintType

`OptimizationBuilderOptimizationConstraint_Struct.``ConstraintType`

  Constraint type `-------------------------------------`

  Field Value Type:`NXOpen.Optimization.OptimizationBuilderOptimizationAttributeType`

## ConstraintLowerLimitValue

`OptimizationBuilderOptimizationConstraint_Struct.``ConstraintLowerLimitValue`

  Lower limit value `-------------------------------------`

  Field Value Type:float

## ConstraintUpperLimitValue

`OptimizationBuilderOptimizationConstraint_Struct.``ConstraintUpperLimitValue`

  Upper limit value `-------------------------------------`

  Field Value Type:float

## ConstraintLimitType

`OptimizationBuilderOptimizationConstraint_Struct.``ConstraintLimitType`

  constraint limit type, lower type or upper type `-------------------------------------`

  Field Value Type:`NXOpen.Optimization.OptimizationBuilderOptimizationConstraintLimitType`