SimLoadRecipeFunctionAttributes Class — NXOpen Python API Reference 12.0.0 documentation

# SimLoadRecipeFunctionAttributes Class

class `NXOpen.CAE.``SimLoadRecipeFunctionAttributes`

  Bases: `NXOpen.TaggedObject`

  This is the class handling the default attributes of a source used by a load recipe. This is used by data sources which cannot derive these attributes from the file itself (like UNV, OP2, …). They specify the default attributes of all functions in the file. Whenever this object is modified, a call to UPDATE_do_update is needed in order to propagate the changes to the LoadRecipe.

  Use CAE.SimLoadRecipeSource.GetFunctionAttributes

  New in version NX12.0.0.

# Properties

Property | Description
--- | ---
AcousticalWeighting | Returns or sets the default acoustical weighting of the functions in the file
AmplitudeCorrectionFactor | Returns or sets the default amplitude correction factor of the functions in the file
CorrectionMode | Returns or sets the default correction mode of the functions in the file
EnergyCorrectionFactor | Returns or sets the default energy correction factor of the functions in the file
SpectrumScaling | Returns or sets the default spectrum scaling of the functions in the file
Tag | Returns the Tag for this object.

# Methods

# Enumerations

SimLoadRecipeFunctionAttributesAcousticalWeightings Enumeration | This enum defines the acoustical weightings
SimLoadRecipeFunctionAttributesCorrectionModes Enumeration | This enum defines the correction modes
SimLoadRecipeFunctionAttributesScalingType Enumeration | This enum defines the spectrum scaling

# Property Detail

## AcousticalWeighting

`SimLoadRecipeFunctionAttributes.``AcousticalWeighting`

  Returns or sets the default acoustical weighting of the functions in the file

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

  Getter Method

  Signature `AcousticalWeighting`

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

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `AcousticalWeighting`

  Parameters: | weighting (`NXOpen.CAE.SimLoadRecipeFunctionAttributesAcousticalWeightings`) –

  New in version NX12.0.0.

  License requirements: None.

## AmplitudeCorrectionFactor

`SimLoadRecipeFunctionAttributes.``AmplitudeCorrectionFactor`

  Returns or sets the default amplitude correction factor of the functions in the file

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

  Getter Method

  Signature `AmplitudeCorrectionFactor`

  Returns: |
  Return type: | float

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `AmplitudeCorrectionFactor`

  Parameters: | correctionFactor (float) –

  New in version NX12.0.0.

  License requirements: None.

## CorrectionMode

`SimLoadRecipeFunctionAttributes.``CorrectionMode`

  Returns or sets the default correction mode of the functions in the file

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

  Getter Method

  Signature `CorrectionMode`

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

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `CorrectionMode`

  Parameters: | correctionMode (`NXOpen.CAE.SimLoadRecipeFunctionAttributesCorrectionModes`) –

  New in version NX12.0.0.

  License requirements: None.

## EnergyCorrectionFactor

`SimLoadRecipeFunctionAttributes.``EnergyCorrectionFactor`

  Returns or sets the default energy correction factor of the functions in the file

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

  Getter Method

  Signature `EnergyCorrectionFactor`

  Returns: |
  Return type: | float

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `EnergyCorrectionFactor`

  Parameters: | correctionFactor (float) –

  New in version NX12.0.0.

  License requirements: None.

## SpectrumScaling

`SimLoadRecipeFunctionAttributes.``SpectrumScaling`

  Returns or sets the default spectrum scaling of the functions in the file

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

  Getter Method

  Signature `SpectrumScaling`

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

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SpectrumScaling`

  Parameters: | spectrumScaling (`NXOpen.CAE.SimLoadRecipeFunctionAttributesScalingType`) –

  New in version NX12.0.0.

  License requirements: None.