SimLoadRecipeMapEntry Class — NXOpen Python API Reference 12.0.0 documentation

# SimLoadRecipeMapEntry Class

class `NXOpen.CAE.``SimLoadRecipeMapEntry`

  Bases: `NXOpen.TaggedObject`

  These objects represent one line in a `NXOpen.CAE.SimLoadRecipe`’s mapping.

  Use CAE.SimLoadRecipeMapEntryCollection.Create

  New in version NX10.0.0.

# Properties

Property | Description
--- | ---
Tag | Returns the Tag for this object.
Target | Returns or sets the target of a `NXOpen.CAE.SimLoadRecipeMapEntry`.
TargetType | Returns or sets the target type of a `NXOpen.CAE.SimLoadRecipeMapEntry`.

# Methods

Method | Description
--- | ---
GetParameters | Returns the parameters of a `NXOpen.CAE.SimLoadRecipeMapEntry`.
SetParameters | Sets the parameters of a `NXOpen.CAE.SimLoadRecipeMapEntry`.

# Property Detail

## Target

`SimLoadRecipeMapEntry.``Target`

  Returns or sets the target of a `NXOpen.CAE.SimLoadRecipeMapEntry`.

  The target value depends on the `NXOpen.CAE.SimLoadRecipeMapEntry.TargetType`()`.

  It represents the followings:

  > - Node label if the target type is

  `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.Node`
    - Element label and face index in the form “elem_label:face_index” if the target type is
  `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.Face`
    - Name of a Mesh if the target type is `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.NodeMesh` or
  `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.FaceMesh`
    - Name of a group if the target type is `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.NodeGroup` or
  `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.FaceGroup`
    - Name of a FEM part if the target type is `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.NodeFem` or
  `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.FaceFem`
    - Name of a Selection Recipe if the target type is

  `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.NodeSelectionRecipe` or `CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes.FaceSelectionRecipe`>

  `-------------------------------------`

  Getter Method

  Signature `Target`

  Returns: |
  Return type: | str

  New in version NX10.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Target`

  Parameters: | target (str) –

  New in version NX10.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## TargetType

`SimLoadRecipeMapEntry.``TargetType`

  Returns or sets the target type of a `NXOpen.CAE.SimLoadRecipeMapEntry`.

  `-------------------------------------`

  Getter Method

  Signature `TargetType`

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

  New in version NX10.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `TargetType`

  Parameters: | targetType (`NXOpen.CAE.SimLoadRecipeMapEntryTargetTypesTargetTypes`) –

  New in version NX10.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

# Method Detail

## GetParameters

`SimLoadRecipeMapEntry.``GetParameters`

  Returns the parameters of a `NXOpen.CAE.SimLoadRecipeMapEntry`.

  Signature `GetParameters()`

  Returns: |
  Return type: | list of str

  New in version NX10.0.0.

  License requirements: None.

## SetParameters

`SimLoadRecipeMapEntry.``SetParameters`

  Sets the parameters of a `NXOpen.CAE.SimLoadRecipeMapEntry`.

  The size of parameters array and the value of numParameters must be equal to the current number of parameters of the entry.

  Signature `SetParameters(parameters)`

  Parameters: | parameters (list of str) –

  New in version NX10.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)