DieEngTrimTaskBuilder Class

class NXOpen.Tooling.DieEngTrimTaskBuilder

Bases: NXOpen.Features.FeatureBuilder

Die 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 @return
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 CamType()

Returns:
Return type:NXOpen.Tooling.DieEngTrimTaskBuilderTrimTaskCamType

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

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

Setter Method

Signature CamType(camType)

Parameters: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 CreateScrap()

Returns: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 CreateScrap(createScrap)

Parameters: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 EndPlaneSelected()

Returns: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 EndPlaneSelected(endPlaneSelected)

Parameters: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 FinishOperation()

Returns: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 FinishOperation(finishOperation)

Parameters: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 LayoutFlange()

Returns: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 LayoutFlange(layoutFlange)

Parameters: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 MatchCut()

Returns:
Return type:NXOpen.Tooling.DieEngTrimTaskBuilderTrimTaskMatchCutType

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

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

Setter Method

Signature MatchCut(matchCut)

Parameters: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 SelectCamDirection()

Returns:
Return type:NXOpen.Direction

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

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

Setter Method

Signature SelectCamDirection(selectCamDirection)

Parameters: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 SelectDieTip()

Returns:
Return type:NXOpen.Features.SelectFeature

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

SelectEndPlane

DieEngTrimTaskBuilder.SelectEndPlane

Returns or sets the selected end plane.

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

Getter Method

Signature SelectEndPlane()

Returns:
Return type:NXOpen.Plane

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

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

Setter Method

Signature SelectEndPlane(selectEndPlane)

Parameters: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 SelectScrapCutters()

Returns:
Return type:NXOpen.SelectIBasePlaneList

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

SelectStartPlane

DieEngTrimTaskBuilder.SelectStartPlane

Returns or sets the selected start plane.

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

Getter Method

Signature SelectStartPlane()

Returns:
Return type:NXOpen.Plane

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

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

Setter Method

Signature SelectStartPlane(selectStartPlane)

Parameters: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 SelectTrimBounds()

Returns:
Return type:NXOpen.ScCollector

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

StartPlaneSelected

DieEngTrimTaskBuilder.StartPlaneSelected

Returns or sets the start plane selected.

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

Getter Method

Signature StartPlaneSelected()

Returns: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 StartPlaneSelected(startPlaneSelected)

Parameters: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 TrimDirection()

Returns:
Return type:bool

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

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

Setter Method

Signature TrimDirection(trimDirection)

Parameters: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 TrimNewDieFace()

Returns: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 TrimNewDieFace(trimNewDieFace)

Parameters: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 TrimTolerance()

Returns:
Return type:float

New in version NX10.0.0.

License requirements: die_engineering (“DIE ENGINEERING”)

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

Setter Method

Signature TrimTolerance(trimTolerance)

Parameters: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.