SimConditionParamCollection Class — NXOpen Python API Reference 12.0.0 documentation

# SimConditionParamCollection Class

class `NXOpen.CAE.``SimConditionParamCollection`

  Bases: `object`

  This class is a collection of `NXOpen.CAE.SimConditionParam` which represents a measurable environment.

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

  New in version NX9.0.0.

# Methods

Method | Description
--- | ---
Create | Creates a `NXOpen.CAE.SimConditionParam` with the specified name and units.
Delete | Deletes a `NXOpen.CAE.SimConditionParam`.
Find | Collection’s object finder
Get | Returns the `NXOpen.CAE.SimConditionParam` with the specified name or None if such a parameter doesn’t exist
GetAll | Returns all `NXOpen.CAE.SimConditionParam`

# Method Detail

## Create

`SimConditionParamCollection.``Create`

  Creates a `NXOpen.CAE.SimConditionParam` with the specified name and units.

  Will error out if a `NXOpen.CAE.SimConditionParam` with specified name already exists. Specified name cannot be empty.

  Signature `Create(name, units)`

  Parameters:

  - name (str) –
  - units (`NXOpen.Unit`) –

  Returns: | Created `NXOpen.CAE.SimConditionParam`
  Return type: | `NXOpen.CAE.SimConditionParam`

  New in version NX9.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

## Delete

`SimConditionParamCollection.``Delete`

  Deletes a `NXOpen.CAE.SimConditionParam`.

  All values in `NXOpen.CAE.SimCondition` for that `NXOpen.CAE.SimConditionParam` will also be deleted. Will return the number of `NXOpen.CAE.SimConditionParam` actually deleted.

  Signature `Delete(param)`

  Parameters: | param (`NXOpen.CAE.SimConditionParam`) –
  Returns: |
  Return type: | int

  New in version NX9.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

## Find

`SimConditionParamCollection.``Find`

  Collection’s object finder

  Signature `Find(name)`

  Parameters: | name (str) – name of the `NXOpen.CAE.SimConditionParam`
  Returns: | The `NXOpen.CAE.SimConditionParam`
  Return type: | `NXOpen.CAE.SimConditionParam`

  New in version NX9.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

## Get

`SimConditionParamCollection.``Get`

  Returns the `NXOpen.CAE.SimConditionParam` with the specified name or None if such a parameter doesn’t exist

  Signature `Get(name)`

  Parameters: | name (str) –
  Returns: | the corresponding `NXOpen.CAE.SimConditionParam`
  Return type: | `NXOpen.CAE.SimConditionParam`

  New in version NX9.0.0.

  License requirements: None.

## GetAll

`SimConditionParamCollection.``GetAll`

  Returns all `NXOpen.CAE.SimConditionParam`

  Signature `GetAll()`

  Returns: | all `NXOpen.CAE.SimConditionParam`
  Return type: | list of `NXOpen.CAE.SimConditionParam`

  New in version NX9.0.0.

  License requirements: None.