DieDirectionBuilder Class

class NXOpen.Die.DieDirectionBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.Die.DieDirectionBuilder.

The Die Direction is a helper to the main Die Design feature to gather the vector for items such as Trim direction or Flange direction. Note that if a coordinate system is specified, then the direction will be -Z of that coordinate system.

To create a new instance of this class, use NXOpen.Die.DieCollection.CreateDieDirection()

New in version NX6.0.0.

Properties

Property Description
CoordinateSystemMatrix Returns or sets the coordinate system matrix
CoordinateSystemOrigin Returns or sets the coordinate system origin
Direction Returns the selected direction
InputType Returns or sets the type of input that defined the direction
ReverseSourceDirection Returns or sets the indication if the source’s direction should be reversed.
Tag Returns the Tag for this object.
Vector Returns or sets the specified vector

Methods

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

Enumerations

DieDirectionBuilderDirectionType Enumeration the options available for defining the direction

Property Detail

CoordinateSystemMatrix

DieDirectionBuilder.CoordinateSystemMatrix

Returns or sets the coordinate system matrix

-------------------------------------

Getter Method

Signature CoordinateSystemMatrix

Returns:
Return type:NXOpen.Matrix3x3

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature CoordinateSystemMatrix

Parameters:coordinateSystemMatrix (NXOpen.Matrix3x3) –

New in version NX6.0.0.

License requirements: None.

CoordinateSystemOrigin

DieDirectionBuilder.CoordinateSystemOrigin

Returns or sets the coordinate system origin

-------------------------------------

Getter Method

Signature CoordinateSystemOrigin

Returns:
Return type:NXOpen.Point3d

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature CoordinateSystemOrigin

Parameters:coordinateSystemOrigin (NXOpen.Point3d) –

New in version NX6.0.0.

License requirements: None.

Direction

DieDirectionBuilder.Direction

Returns the selected direction

-------------------------------------

Getter Method

Signature Direction

Returns:
Return type:NXOpen.SelectNXObject

New in version NX6.0.0.

License requirements: None.

InputType

DieDirectionBuilder.InputType

Returns or sets the type of input that defined the direction

-------------------------------------

Getter Method

Signature InputType

Returns:
Return type:NXOpen.Die.DieDirectionBuilderDirectionType

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature InputType

Parameters:inputType (NXOpen.Die.DieDirectionBuilderDirectionType) –

New in version NX7.5.0.

License requirements: None.

ReverseSourceDirection

DieDirectionBuilder.ReverseSourceDirection

Returns or sets the indication if the source’s direction should be reversed.

True indicates the source’s direction should be reversed

-------------------------------------

Getter Method

Signature ReverseSourceDirection

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ReverseSourceDirection

Parameters:reverseSourceDirection (bool) –

New in version NX6.0.0.

License requirements: None.

Vector

DieDirectionBuilder.Vector

Returns or sets the specified vector

-------------------------------------

Getter Method

Signature Vector

Returns:
Return type:NXOpen.Direction

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Vector

Parameters:vector (NXOpen.Direction) –

New in version NX6.0.0.

License requirements: None.

Method Detail

Validate

DieDirectionBuilder.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.