LocationWithDir Class — NXOpen Python API Reference 12.0.0 documentation

# LocationWithDir Class

class `NXOpen.CAE.Connections.``LocationWithDir`

  Bases: `NXOpen.CAE.Connections.Location`

  Location With Direction interface. This defines connection locations with direction.

  To obtain an instance of this object use the AddLocationWithDirection creators on the Connections

  New in version NX12.0.0.

# Properties

Property | Description
--- | ---
DirectionPoint | Returns or sets the point of the direction definition end point.
DirectionType | Returns the direction type
DirectionValue | Returns the direction value
DirectionVector | Returns or sets the direction definition vector
Point | Returns or sets the point of the direction definition start point.
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
GetXyzCoordinates | Gets the coordinates from the specified location.

# Property Detail

## DirectionPoint

`LocationWithDir.``DirectionPoint`

  Returns or sets the point of the direction definition end point.

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

  Getter Method

  Signature `DirectionPoint`

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

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

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

  Setter Method

  Signature `DirectionPoint`

  Parameters: | direction (`NXOpen.Point`) –

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## DirectionType

`LocationWithDir.``DirectionType`

  Returns the direction type

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

  Getter Method

  Signature `DirectionType`

  Returns: | Direction type
  Return type: | `NXOpen.CAE.Connections.LocationDirectionType`

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## DirectionValue

`LocationWithDir.``DirectionValue`

  Returns the direction value

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

  Getter Method

  Signature `DirectionValue`

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

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## DirectionVector

`LocationWithDir.``DirectionVector`

  Returns or sets the direction definition vector

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

  Getter Method

  Signature `DirectionVector`

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

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

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

  Setter Method

  Signature `DirectionVector`

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

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## Point

`LocationWithDir.``Point`

  Returns or sets the point of the direction definition start point.

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

  Getter Method

  Signature `Point`

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

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

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

  Setter Method

  Signature `Point`

  Parameters: | point (`NXOpen.Point`) –

  New in version NX12.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)