SimRecipeCollection Class — NXOpen Python API Reference 12.0.0 documentation

# SimRecipeCollection Class

class `NXOpen.CAE.``SimRecipeCollection`

  Bases: `object`

  Provides methods for managing `NXOpen.CAE.SimRecipe` in a sim part

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

  New in version NX5.0.0.

# Methods

Method | Description
--- | ---
CreateAutoBcRecipe | Creates a `NXOpen.CAE.SimAutoBcRecipe`
FindObject | Finds the `NXOpen.CAE.SimRecipe` with the given identifier as recorded in a journal.

# Method Detail

## CreateAutoBcRecipe

`SimRecipeCollection.``CreateAutoBcRecipe`

  Creates a `NXOpen.CAE.SimAutoBcRecipe`

  Signature `CreateAutoBcRecipe(descriptorName, recipeName)`

  Parameters:

  - descriptorName (str) – Name of the Recipe descriptor
  - recipeName (str) – Name of the Recipe

  Returns: | Recipe created
  Return type: | `NXOpen.CAE.SimAutoBcRecipe`

  New in version NX5.0.0.

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

## FindObject

`SimRecipeCollection.``FindObject`

  Finds the `NXOpen.CAE.SimRecipe` with the given identifier as recorded in a journal.

  An exception will be thrown if no object can be found with the given journal identifier.

  Signature `FindObject(journalIdentifier)`

  Parameters: | journalIdentifier (str) – Identifier to be found
  Returns: | Recipe found
  Return type: | `NXOpen.CAE.SimRecipe`

  New in version NX5.0.0.

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