SimConditionTimeStepCollection Class — NXOpen Python API Reference 12.0.0 documentation

# SimConditionTimeStepCollection Class

class `NXOpen.CAE.``SimConditionTimeStepCollection`

  Bases: `object`

  This class is a collection of `NXOpen.CAE.SimConditionTimeStep`.

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

  New in version NX9.0.0.

# Methods

Method | Description
--- | ---
Create | Creates a `NXOpen.CAE.SimConditionTimeStep` at specified time referencing specified `NXOpen.CAE.SimCondition` and insert it in time history.
Delete | Deletes a `NXOpen.CAE.SimConditionTimeStep` from time history
Find | Collection’s object finder
Get | Returns the `NXOpen.CAE.SimConditionTimeStep` at the specified time or None if it doesn’t exist
GetAll | Returns a time ordered array of all `NXOpen.CAE.SimConditionTimeStep`
GetInRange | Returns all `NXOpen.CAE.SimConditionTimeStep` falling inside the specified inclusive time range
GetWithReferenceToCondition | Returns all `NXOpen.CAE.SimConditionTimeStep` referencing the specified `NXOpen.CAE.SimCondition`
ModifyTime | Modifies the time of a `NXOpen.CAE.SimConditionTimeStep` in time history

# Method Detail

## Create

`SimConditionTimeStepCollection.``Create`

  Creates a `NXOpen.CAE.SimConditionTimeStep` at specified time referencing specified `NXOpen.CAE.SimCondition` and insert it in time history.

  A conditionless `NXOpen.CAE.SimConditionTimeStep` may be added by passing None as the `NXOpen.CAE.SimCondition`.

  Signature `Create(time, condition, description)`

  Parameters:

  - time (float) –
  - condition (`NXOpen.CAE.SimCondition`) –
  - description (str) –

  Returns: | the added Time Step `NXOpen.CAE.SimConditionTimeStep`
  Return type: | `NXOpen.CAE.SimConditionTimeStep`

  New in version NX9.0.0.

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

## Delete

`SimConditionTimeStepCollection.``Delete`

  Deletes a `NXOpen.CAE.SimConditionTimeStep` from time history

  Signature `Delete(step)`

  Parameters: | step (`NXOpen.CAE.SimConditionTimeStep`) –

  New in version NX9.0.0.

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

## Find

`SimConditionTimeStepCollection.``Find`

  Collection’s object finder

  Signature `Find(time)`

  Parameters: | time (str) – time of the `NXOpen.CAE.SimConditionTimeStep`
  Returns: | The `NXOpen.CAE.SimConditionTimeStep`
  Return type: | `NXOpen.CAE.SimConditionTimeStep`

  New in version NX9.0.0.

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

## Get

`SimConditionTimeStepCollection.``Get`

  Returns the `NXOpen.CAE.SimConditionTimeStep` at the specified time or None if it doesn’t exist

  Signature `Get(time)`

  Parameters: | time (float) –
  Returns: | the corresponding `NXOpen.CAE.SimConditionTimeStep`
  Return type: | `NXOpen.CAE.SimConditionTimeStep`

  New in version NX9.0.0.

  License requirements: None.

## GetAll

`SimConditionTimeStepCollection.``GetAll`

  Returns a time ordered array of all `NXOpen.CAE.SimConditionTimeStep`

  Signature `GetAll()`

  Returns: | all `NXOpen.CAE.SimConditionTimeStep`
  Return type: | list of `NXOpen.CAE.SimConditionTimeStep`

  New in version NX9.0.0.

  License requirements: None.

## GetInRange

`SimConditionTimeStepCollection.``GetInRange`

  Returns all `NXOpen.CAE.SimConditionTimeStep` falling inside the specified inclusive time range

  Signature `GetInRange(fromTime, toTime)`

  Parameters:

  - fromTime (float) –
  - toTime (float) –

  Returns: | all `NXOpen.CAE.SimConditionTimeStep` within range
  Return type: | list of `NXOpen.CAE.SimConditionTimeStep`

  New in version NX9.0.0.

  License requirements: None.

## GetWithReferenceToCondition

`SimConditionTimeStepCollection.``GetWithReferenceToCondition`

  Returns all `NXOpen.CAE.SimConditionTimeStep` referencing the specified `NXOpen.CAE.SimCondition`

  Signature `GetWithReferenceToCondition(condition)`

  Parameters: | condition (`NXOpen.CAE.SimCondition`) –
  Returns: | all `NXOpen.CAE.SimConditionTimeStep` referencing specified `NXOpen.CAE.SimCondition`
  Return type: | list of `NXOpen.CAE.SimConditionTimeStep`

  New in version NX9.0.0.

  License requirements: None.

## ModifyTime

`SimConditionTimeStepCollection.``ModifyTime`

  Modifies the time of a `NXOpen.CAE.SimConditionTimeStep` in time history

  Signature `ModifyTime(step, time)`

  Parameters:

  - step (`NXOpen.CAE.SimConditionTimeStep`) –
  - time (float) –

  New in version NX9.0.0.

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