SimLoadRecipeCollection Class — NXOpen Python API Reference 12.0.0 documentation

# SimLoadRecipeCollection Class

class `NXOpen.CAE.``SimLoadRecipeCollection`

  Bases: `object`

  This class is a collection of `NXOpen.CAE.SimLoadRecipe`.

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

  New in version NX10.0.0.

# Methods

Method | Description
--- | ---
Copy | Copies a Load Recipe with all attributes and add it to the collection.
Create | Creates a new Load Recipe and adds it to the collection.
Delete | Delete a list of load recipes
Find | Finds a Load Recipe with a specified name.

# Method Detail

## Copy

`SimLoadRecipeCollection.``Copy`

  Copies a Load Recipe with all attributes and add it to the collection.

  This method gives proper unique name to the created Load Recipe.

  Signature `Copy(recipeToCopy)`

  Parameters: | recipeToCopy (`NXOpen.CAE.SimLoadRecipe`) –
  Returns: |
  Return type: | `NXOpen.CAE.SimLoadRecipe`

  New in version NX10.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## Create

`SimLoadRecipeCollection.``Create`

  Creates a new Load Recipe and adds it to the collection.

  Signature `Create(name, description, dataType)`

  Parameters:

  - name (str) – Name of the load recipe. If None, then a valid unique name will be generated.
  - description (str) –
  - dataType (`NXOpen.CAE.SimLoadRecipeTypesDataTypes`) –

  Returns: |
  Return type: | `NXOpen.CAE.SimLoadRecipe`

  New in version NX10.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## Delete

`SimLoadRecipeCollection.``Delete`

  Delete a list of load recipes

  Signature `Delete(recipes)`

  Parameters: | recipes (list of `NXOpen.CAE.SimLoadRecipe`) – The recipes to be deleted

  New in version NX10.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## Find

`SimLoadRecipeCollection.``Find`

  Finds a Load Recipe with a specified name.

  Signature `Find(name)`

  Parameters: | name (str) – name of the load recipe
  Returns: |
  Return type: | `NXOpen.CAE.SimLoadRecipe`

  New in version NX10.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)