DieEngTrimTaskBuilder Class¶
-
class
NXOpen.Tooling.DieEngTrimTaskBuilder¶ Bases:
NXOpen.Features.FeatureBuilderDie Engineer trim task management builder, create a trim task by selected die tip, trim bounds, start plane and end plane.
To create a new instance of this class, use
NXOpen.Tooling.AutoDieCollection.CreateDieEngTrimTaskBuilder()New in version NX10.0.0.
Properties¶
| Property | Description |
|---|---|
| CamType | Returns or sets the cam type. |
| CreateScrap | Returns or sets the create scrap. |
| EndPlaneSelected | Returns or sets the end plane selected. |
| FinishOperation | Returns or sets the finish operation. |
| LayoutFlange | Returns or sets the layout flange. |
| MatchCut | Returns or sets the match cut. |
| ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
| PatchSolutionFlag | Returns or sets the patch solution flag |
| PatchSurfaceFilename | Returns or sets the patch surface filename |
| SelectCamDirection | Returns or sets the selected cam direction. |
| SelectDieTip | Returns the selected die tip. |
| SelectEndPlane | Returns or sets the selected end plane. |
| SelectScrapCutters | Returns the selected scrap cutters. |
| SelectStartPlane | Returns or sets the selected start plane. |
| SelectTrimBounds | Returns the selected trim bounds. |
| StartPlaneSelected | Returns or sets the start plane selected. |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| TrimDirection | Returns or sets the trim direction. |
| TrimNewDieFace | Returns or sets the trim new die face, from NX10. |
| TrimTolerance | Returns or sets the trim task tolerance. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CommitFeature | Commits the feature parameters and creates the feature |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetFeature | Returns the feature currently being edited by this builder. |
| GetObject | Returns the object currently being edited by this builder. |
| HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
| SetMatchCutAngle | Sets the match cut dimension angle value. |
| SetMatchCutFirstRadius | Sets the match cut dimension first radius value. |
| SetMatchCutNotchOffset | Sets the match cut dimension notch offset value. |
| SetMatchCutOffsetFromPlane | Sets the match cut dimension offset from plane value. |
| SetMatchCutOffsetLength | Sets the match cut dimension offset length value. |
| SetMatchCutScrapCutterLength | Sets the match cut dimension scrap cutter length value. |
| SetMatchCutSecondRadius | Sets the match cut dimension second radius value. |
| SetMatchCutThirdRadius | Sets the match cut dimension third radius value. |
| SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
| SetUsePlaneOffset | Sets the match cut dimension use plane offset value. |
| ShowInternalParentFeatureForEdit | Unsuppress an internal parent feature (a slave feature) so it can be edited. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| SwitchTrimSide | Switch trim side. |
| UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| DieEngTrimTaskBuilderTrimTaskCamType Enumeration | the trim task cam type. |
| DieEngTrimTaskBuilderTrimTaskMatchCutType Enumeration | the trim task match cut type. |
Property Detail¶
CamType¶
-
DieEngTrimTaskBuilder.CamType¶ Returns or sets the cam type.
-------------------------------------Getter Method
Signature
CamTypeReturns: Return type: NXOpen.Tooling.DieEngTrimTaskBuilderTrimTaskCamTypeNew in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
CamTypeParameters: camType ( NXOpen.Tooling.DieEngTrimTaskBuilderTrimTaskCamType) –New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
CreateScrap¶
-
DieEngTrimTaskBuilder.CreateScrap¶ Returns or sets the create scrap.
-------------------------------------Getter Method
Signature
CreateScrapReturns: if trim task create scrap, this will be true, or else this will be false. Return type: bool New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
CreateScrapParameters: createScrap (bool) – if set to true, trim task will create scrap, or else not create scrap. New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
EndPlaneSelected¶
-
DieEngTrimTaskBuilder.EndPlaneSelected¶ Returns or sets the end plane selected.
-------------------------------------Getter Method
Signature
EndPlaneSelectedReturns: if end plane is selected, this will be true, or else this will be false. Return type: bool New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
EndPlaneSelectedParameters: endPlaneSelected (bool) – if set to true, hints that end plane is selected, or else not selected. New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
FinishOperation¶
-
DieEngTrimTaskBuilder.FinishOperation¶ Returns or sets the finish operation.
-------------------------------------Getter Method
Signature
FinishOperationReturns: if trim task is finish operation, this will be true, or else this will be false. Return type: bool New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
FinishOperationParameters: finishOperation (bool) – if set to true, trim task will be finish operation, or else it is not finish operation. New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
LayoutFlange¶
-
DieEngTrimTaskBuilder.LayoutFlange¶ Returns or sets the layout flange.
-------------------------------------Getter Method
Signature
LayoutFlangeReturns: if trim task layout flange, this will be true, or else this will be false. Return type: bool New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
LayoutFlangeParameters: layoutFlange (bool) – if set to true, trim task will layout flange, or else not layout flange. New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
MatchCut¶
-
DieEngTrimTaskBuilder.MatchCut¶ Returns or sets the match cut.
-------------------------------------Getter Method
Signature
MatchCutReturns: Return type: NXOpen.Tooling.DieEngTrimTaskBuilderTrimTaskMatchCutTypeNew in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
MatchCutParameters: matchCut ( NXOpen.Tooling.DieEngTrimTaskBuilderTrimTaskMatchCutType) –New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SelectCamDirection¶
-
DieEngTrimTaskBuilder.SelectCamDirection¶ Returns or sets the selected cam direction.
-------------------------------------Getter Method
Signature
SelectCamDirectionReturns: Return type: NXOpen.DirectionNew in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
SelectCamDirectionParameters: selectCamDirection ( NXOpen.Direction) –New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SelectDieTip¶
-
DieEngTrimTaskBuilder.SelectDieTip¶ Returns the selected die tip.
-------------------------------------Getter Method
Signature
SelectDieTipReturns: Return type: NXOpen.Features.SelectFeatureNew in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SelectEndPlane¶
-
DieEngTrimTaskBuilder.SelectEndPlane¶ Returns or sets the selected end plane.
-------------------------------------Getter Method
Signature
SelectEndPlaneReturns: Return type: NXOpen.PlaneNew in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
SelectEndPlaneParameters: selectEndPlane ( NXOpen.Plane) –New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SelectScrapCutters¶
-
DieEngTrimTaskBuilder.SelectScrapCutters¶ Returns the selected scrap cutters.
-------------------------------------Getter Method
Signature
SelectScrapCuttersReturns: Return type: NXOpen.SelectIBasePlaneListNew in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SelectStartPlane¶
-
DieEngTrimTaskBuilder.SelectStartPlane¶ Returns or sets the selected start plane.
-------------------------------------Getter Method
Signature
SelectStartPlaneReturns: Return type: NXOpen.PlaneNew in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
SelectStartPlaneParameters: selectStartPlane ( NXOpen.Plane) –New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SelectTrimBounds¶
-
DieEngTrimTaskBuilder.SelectTrimBounds¶ Returns the selected trim bounds.
-------------------------------------Getter Method
Signature
SelectTrimBoundsReturns: Return type: NXOpen.ScCollectorNew in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
StartPlaneSelected¶
-
DieEngTrimTaskBuilder.StartPlaneSelected¶ Returns or sets the start plane selected.
-------------------------------------Getter Method
Signature
StartPlaneSelectedReturns: if start plane is selected, this will be true, or else this will be false. Return type: bool New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
StartPlaneSelectedParameters: startPlaneSelected (bool) – if set to true, hints that start plane is selected, or else not selected. New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
TrimDirection¶
-
DieEngTrimTaskBuilder.TrimDirection¶ Returns or sets the trim direction.
-------------------------------------Getter Method
Signature
TrimDirectionReturns: Return type: bool New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
TrimDirectionParameters: trimDirection (bool) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
TrimNewDieFace¶
-
DieEngTrimTaskBuilder.TrimNewDieFace¶ Returns or sets the trim new die face, from NX10.
0 new stamping output can import one new die face to die engineer process. If this trim task will trim this new die face, set trimNewDieFace to true, or else set it to false.
-------------------------------------Getter Method
Signature
TrimNewDieFaceReturns: if pierce task performs on new die face, this will be true, or else this will be false. Return type: bool New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
TrimNewDieFaceParameters: trimNewDieFace (bool) – if set to true, pierce task performs on new die face, or else it will perform on original die face. New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
TrimTolerance¶
-
DieEngTrimTaskBuilder.TrimTolerance¶ Returns or sets the trim task tolerance.
-------------------------------------Getter Method
Signature
TrimToleranceReturns: Return type: float New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
-------------------------------------Setter Method
Signature
TrimToleranceParameters: trimTolerance (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
Method Detail¶
SetMatchCutAngle¶
-
DieEngTrimTaskBuilder.SetMatchCutAngle¶ Sets the match cut dimension angle value.
Signature
SetMatchCutAngle(angle)Parameters: angle (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetMatchCutFirstRadius¶
-
DieEngTrimTaskBuilder.SetMatchCutFirstRadius¶ Sets the match cut dimension first radius value.
Signature
SetMatchCutFirstRadius(firstRadius)Parameters: firstRadius (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetMatchCutNotchOffset¶
-
DieEngTrimTaskBuilder.SetMatchCutNotchOffset¶ Sets the match cut dimension notch offset value.
Signature
SetMatchCutNotchOffset(notchOffset)Parameters: notchOffset (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetMatchCutOffsetFromPlane¶
-
DieEngTrimTaskBuilder.SetMatchCutOffsetFromPlane¶ Sets the match cut dimension offset from plane value.
Signature
SetMatchCutOffsetFromPlane(offsetFromPlane)Parameters: offsetFromPlane (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetMatchCutOffsetLength¶
-
DieEngTrimTaskBuilder.SetMatchCutOffsetLength¶ Sets the match cut dimension offset length value.
Signature
SetMatchCutOffsetLength(offsetLength)Parameters: offsetLength (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetMatchCutScrapCutterLength¶
-
DieEngTrimTaskBuilder.SetMatchCutScrapCutterLength¶ Sets the match cut dimension scrap cutter length value.
Signature
SetMatchCutScrapCutterLength(scrapCutterLength)Parameters: scrapCutterLength (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetMatchCutSecondRadius¶
-
DieEngTrimTaskBuilder.SetMatchCutSecondRadius¶ Sets the match cut dimension second radius value.
Signature
SetMatchCutSecondRadius(secondRadius)Parameters: secondRadius (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetMatchCutThirdRadius¶
-
DieEngTrimTaskBuilder.SetMatchCutThirdRadius¶ Sets the match cut dimension third radius value.
Signature
SetMatchCutThirdRadius(thirdRadius)Parameters: thirdRadius (float) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SetUsePlaneOffset¶
-
DieEngTrimTaskBuilder.SetUsePlaneOffset¶ Sets the match cut dimension use plane offset value.
Signature
SetUsePlaneOffset(useOffset)Parameters: useOffset (bool) – New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
SwitchTrimSide¶
-
DieEngTrimTaskBuilder.SwitchTrimSide¶ Switch trim side.
When trim profile and trim planes are selected, there will be a default trim side, if the other side want to be trimmed out, should call this to switch it.
Signature
SwitchTrimSide()New in version NX10.0.0.
License requirements: die_engineering (“DIE ENGINEERING”)
Validate¶
-
DieEngTrimTaskBuilder.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.