TBSConstraintCollection Class — NXOpen Python API Reference 12.0.0 documentation

# TBSConstraintCollection Class

class `NXOpen.CAE.Optimization.``TBSConstraintCollection`

  Bases: `object`

  Represents a collection of `NXOpen.CAE.Optimization.TBSConstraint`

  To obtain an instance of this class, refer to `NXOpen.CAE.Optimization.TBSOptimizationSolution`

  New in version NX8.0.0.

# Methods

Method | Description
--- | ---
FindObject | Finds a response constraint with the specified name within an optimization solution

# Method Detail

## FindObject

`TBSConstraintCollection.``FindObject`

  Finds a response constraint with the specified name within an optimization solution

  Signature `FindObject(constraintName)`

  Parameters: | constraintName (str) –
  Returns: |
  Return type: | `NXOpen.CAE.Optimization.TBSConstraint`

  New in version NX8.0.0.

  License requirements: cae_opt_topo (“NX Topology Optimization”) OR cae_opt_topobead (“NX Bead Optimization”) OR cae_opt_toposhape (“NX Shape Optimization”)