DieDirectionBuilder Class¶
-
class
NXOpen.Die.DieDirectionBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents 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
CoordinateSystemMatrixReturns: Return type: NXOpen.Matrix3x3New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CoordinateSystemMatrixParameters: 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
CoordinateSystemOriginReturns: Return type: NXOpen.Point3dNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CoordinateSystemOriginParameters: coordinateSystemOrigin ( NXOpen.Point3d) –New in version NX6.0.0.
License requirements: None.
Direction¶
-
DieDirectionBuilder.Direction¶ Returns the selected direction
-------------------------------------Getter Method
Signature
DirectionReturns: Return type: NXOpen.SelectNXObjectNew 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
InputTypeReturns: Return type: NXOpen.Die.DieDirectionBuilderDirectionTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InputTypeParameters: 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
ReverseSourceDirectionReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReverseSourceDirectionParameters: reverseSourceDirection (bool) – New in version NX6.0.0.
License requirements: None.
Vector¶
-
DieDirectionBuilder.Vector¶ Returns or sets the specified vector
-------------------------------------Getter Method
Signature
VectorReturns: Return type: NXOpen.DirectionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VectorParameters: 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.