PreTestSolutionCollection Class — NXOpen Python API Reference 12.0.0 documentation

# PreTestSolutionCollection Class

class `NXOpen.CAE.``PreTestSolutionCollection`

  Bases: `object`

  Represents a collection of pre-test setups

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

  New in version NX7.5.0.

# Properties

Property | Description
--- | ---
ActivePretest | Returns or sets the active pre-test

# Methods

Method | Description
--- | ---
ClonePretest | Clone a pre-test
CreateAutoMacViewerBuilder | Creates an AutoMAC results display builder
CreateExciterConfigBuilder | Creates a exciter configuration dialog builder
CreatePretestBuilder | Creates a pre-test dialog builder
CreatePretestDofsetBuilder | Creates a dof set dialog builder
CreateSensorConfigBuilder | Creates a sensor configuration dialog builder
DeletePretest | Delete a pre-test
FindObject | Finds a pre-test setup with specified name

# Property Detail

## ActivePretest

`PreTestSolutionCollection.``ActivePretest`

  Returns or sets the active pre-test

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

  Getter Method

  Signature `ActivePretest`

  Returns: | Active Pre-Test
  Return type: | `NXOpen.CAE.PreTestSolution`

  New in version NX7.5.0.

  License requirements: None.

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

  Setter Method

  Signature `ActivePretest`

  Parameters: | pretest (`NXOpen.CAE.PreTestSolution`) – Pre-Test to be set active

  New in version NX7.5.0.

  License requirements: nx_correl_base (“FE Correlation”)

# Method Detail

## ClonePretest

`PreTestSolutionCollection.``ClonePretest`

  Clone a pre-test

  Signature `ClonePretest(source)`

  Parameters: | source (`NXOpen.CAE.PreTestSolution`) – Pre-Test to be cloned
  Returns: | Cloned Pre-Test
  Return type: | `NXOpen.CAE.PreTestSolution`

  New in version NX7.5.0.

  License requirements: nx_correl_base (“FE Correlation”)

## CreateAutoMacViewerBuilder

`PreTestSolutionCollection.``CreateAutoMacViewerBuilder`

  Creates an AutoMAC results display builder

  Signature `CreateAutoMacViewerBuilder(macInput)`

  Parameters: | macInput (`NXOpen.TaggedObject`) – Mac Input.
  Returns: | AutoMac Builder.
  Return type: | `NXOpen.CAE.AutoMacViewerBuilder`

  New in version NX7.5.0.

  License requirements: nx_correl_base (“FE Correlation”)

## CreateExciterConfigBuilder

`PreTestSolutionCollection.``CreateExciterConfigBuilder`

  Creates a exciter configuration dialog builder

  Signature `CreateExciterConfigBuilder(exciterConfig)`

  Parameters: | exciterConfig (`NXOpen.CAE.PreTestExciterConfig`) – Exciter Configuration being edited.
  Returns: | Exciter Configuration Builder.
  Return type: | `NXOpen.CAE.PreTestExciterConfigBuilder`

  New in version NX8.0.0.

  License requirements: nx_correl_base (“FE Correlation”)

## CreatePretestBuilder

`PreTestSolutionCollection.``CreatePretestBuilder`

  Creates a pre-test dialog builder

  Signature `CreatePretestBuilder(pretest)`

  Parameters: | pretest (`NXOpen.CAE.PreTestSolution`) – Edited Pre-Test. Can be NULL if creating a new Pre-Test.
  Returns: | Pre-Test Builder
  Return type: | `NXOpen.CAE.PreTestSolutionBuilder`

  New in version NX7.5.0.

  License requirements: nx_correl_base (“FE Correlation”)

## CreatePretestDofsetBuilder

`PreTestSolutionCollection.``CreatePretestDofsetBuilder`

  Creates a dof set dialog builder

  Signature `CreatePretestDofsetBuilder(dofset)`

  Parameters: | dofset (`NXOpen.CAE.PreTestDofSet`) – Dof Set being edited.
  Returns: | Dof Set Builder.
  Return type: | `NXOpen.CAE.PreTestDofSetBuilder`

  New in version NX7.5.0.

  License requirements: nx_correl_base (“FE Correlation”)

## CreateSensorConfigBuilder

`PreTestSolutionCollection.``CreateSensorConfigBuilder`

  Creates a sensor configuration dialog builder

  Signature `CreateSensorConfigBuilder(sensorConfig)`

  Parameters: | sensorConfig (`NXOpen.CAE.PreTestSensorConfig`) – Sensor Configuration being edited.
  Returns: | Sensor Configuration Builder.
  Return type: | `NXOpen.CAE.PreTestSensorConfigBuilder`

  New in version NX7.5.0.

  License requirements: nx_correl_base (“FE Correlation”)

## DeletePretest

`PreTestSolutionCollection.``DeletePretest`

  Delete a pre-test

  Signature `DeletePretest(pretest)`

  Parameters: | pretest (`NXOpen.CAE.PreTestSolution`) – Pre-Test to be deleted

  New in version NX7.5.0.

  License requirements: nx_correl_base (“FE Correlation”)

## FindObject

`PreTestSolutionCollection.``FindObject`

  Finds a pre-test setup with specified name

  Signature `FindObject(name)`

  Parameters: | name (str) – Pre-Test name to be found
  Returns: | Pre-Test found
  Return type: | `NXOpen.CAE.PreTestSolution`

  New in version NX7.5.0.

  License requirements: None.