GeometryRecipeCollection Class — NXOpen Python API Reference 12.0.0 documentation

# GeometryRecipeCollection Class

class `NXOpen.CAE.``GeometryRecipeCollection`

  Bases: `object`

  Provides methods for managing set `NXOpen.CAE.GeometryRecipe`

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

  New in version NX10.0.0.

# Methods

Method | Description
--- | ---
CreateFreezeGeometryBuilder | Creates a `NXOpen.CAE.GeometryRecipeCollection` instance.
FindObject | Finds the `NXOpen.CAE.GeometryRecipe` with the given identifier as recorded in a journal.

# Method Detail

## CreateFreezeGeometryBuilder

`GeometryRecipeCollection.``CreateFreezeGeometryBuilder`

  Creates a `NXOpen.CAE.GeometryRecipeCollection` instance.

  Signature `CreateFreezeGeometryBuilder(recipe)`

  Parameters: | recipe (`NXOpen.CAE.FreezeGeometryRecipe`) –
  Returns: |
  Return type: | `NXOpen.CAE.FreezeGeometryBuilder`

  New in version NX10.0.0.

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

## FindObject

`GeometryRecipeCollection.``FindObject`

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

  An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.

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

  Signature `FindObject(journalIdentifier)`

  Parameters: | journalIdentifier (str) – Identifier of the Set you want
  Returns: |
  Return type: | `NXOpen.CAE.GeometryRecipe`

  New in version NX10.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)