VelocityImpactDirection Class — NXOpen Python API Reference 12.0.0 documentation

# VelocityImpactDirection Class

class `NXOpen.CAE.ResponseSimulation.``VelocityImpactDirection`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents a `NXOpen.CAE.ResponseSimulation.VelocityImpactDirection`

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
DirectionOption | Returns or sets the direction option
NodalComponent | Returns or sets the selected nodal component
ReverseDirection | Returns or sets the option to reverse direction of nodal component or not.
Tag | Returns the Tag for this object.
UserDefinedDirection | Returns or sets the user-defined direction

# Methods

Method | Description
--- | ---
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

VelocityImpactDirectionDirectionType Enumeration | the direction options for impact
VelocityImpactDirectionNodalComponentType Enumeration | the types of nodal component

# Property Detail

## DirectionOption

`VelocityImpactDirection.``DirectionOption`

  Returns or sets the direction option

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

  Getter Method

  Signature `DirectionOption`

  Returns: |
  Return type: | `NXOpen.CAE.ResponseSimulation.VelocityImpactDirectionDirectionType`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `DirectionOption`

  Parameters: | mDirectionOption (`NXOpen.CAE.ResponseSimulation.VelocityImpactDirectionDirectionType`) –

  New in version NX6.0.0.

  License requirements: nx_response_anlys (“NX Response Analysis”)

## NodalComponent

`VelocityImpactDirection.``NodalComponent`

  Returns or sets the selected nodal component

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

  Getter Method

  Signature `NodalComponent`

  Returns: |
  Return type: | `NXOpen.CAE.ResponseSimulation.VelocityImpactDirectionNodalComponentType`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `NodalComponent`

  Parameters: | nodalComponent (`NXOpen.CAE.ResponseSimulation.VelocityImpactDirectionNodalComponentType`) –

  New in version NX6.0.0.

  License requirements: nx_response_anlys (“NX Response Analysis”)

## ReverseDirection

`VelocityImpactDirection.``ReverseDirection`

  Returns or sets the option to reverse direction of nodal component or not.

  Only valid when direction option is `NXOpen.CAE.ResponseSimulation.VelocityImpactDirectionDirectionType.NodalComponent`

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

  Getter Method

  Signature `ReverseDirection`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ReverseDirection`

  Parameters: | reverseDirection (bool) –

  New in version NX6.0.0.

  License requirements: nx_response_anlys (“NX Response Analysis”)

## UserDefinedDirection

`VelocityImpactDirection.``UserDefinedDirection`

  Returns or sets the user-defined direction

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

  Getter Method

  Signature `UserDefinedDirection`

  Returns: |
  Return type: | `NXOpen.Direction`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `UserDefinedDirection`

  Parameters: | userDefinedDirection (`NXOpen.Direction`) –

  New in version NX6.0.0.

  License requirements: nx_response_anlys (“NX Response Analysis”)

# Method Detail

## Validate

`VelocityImpactDirection.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.