DrawDiePunchBuilder Class¶
-
class
NXOpen.Die.
DrawDiePunchBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a Draw Die Punch feature builder.
To create a new instance of this class, use
NXOpen.Die.DieCollection.DrawDiePunch()
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
AlignStartOrientation | Returns or sets the align start orientation switch of the draw die punch casting, if true use the alignment point to define the start of the punch profile, if false use the default algorithm to define the start of the punch profile. |
AngleTolerance | Returns or sets the angle tolerance of the draw die punch casting. |
BaseOrientation | Returns or sets the base orientation of the draw die punch casting. |
BoltHoleParent | Returns the bolt hole parent builder of the draw die punch. |
CastReliefParent | Returns the cast relief builder of the draw die punch. |
ClosedStartOrientation | Returns or sets the closed start orientation of the draw die punch casting. |
CoordinatingHoleParent | Returns the coordinating hole parent builder of the draw die punch. |
CorePunch | Returns or sets the core punch switch of the draw die punch casting, if true the punch will be cored, if false the punch will not be cored. |
DeckParent | Returns the deck builder of the draw die punch. |
DieCenterlineCsys | Returns or sets the die centerline csys of the draw die punch casting. |
DisplayHoles | Returns or sets the display holes switch of the draw die punch casting, if true holes will be created in the punch, if false holes will not be created. |
DistanceTolerance | Returns or sets the distance tolerance of the draw die punch casting. |
DowelHoleParent | Returns the dowel hole parent builder of the draw die punch. |
HandlingCoreParent | Returns the handling core parent builder of the draw die punch. |
KeywayParent | Returns the keyway parent builder of the draw die punch. |
ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
PartialRibbingParent | Returns the partial ribbing parent builder of the draw die punch. |
PatchSolutionFlag | Returns or sets the patch solution flag |
PatchSurfaceFilename | Returns or sets the patch surface filename |
PreliminaryBuild | Returns or sets the preliminary build switch of the draw die punch casting, if true the fast build options will be used, if false accurate build options will be used. |
PressureSystemParent | Returns the pressure system parent builder of the draw die punch. |
PressureSystemReversalParent | Returns the pressure system reversal parent builder of the draw die punch. |
RibbingParent | Returns the ribbing parent builder of the draw die punch. |
Section | Returns the section builder of the draw die punch. |
SheetMetal | Returns or sets the sheet metal of the draw die punch casting. |
StrengtheningRibbingParent | Returns the strengthening ribbing parent builder of the draw die punch. |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
VentHoleParent | Returns the vent hole parent builder of the draw die punch. |
WearPlateParent | Returns the wear plate parent builder of the draw die punch. |
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. |
GetPunchProfile | Gets the punch profile of the draw die punch casting. |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
SetPunchProfile | Sets the punch profile of the draw die punch casting. |
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. |
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. |
Property Detail¶
AlignStartOrientation¶
-
DrawDiePunchBuilder.
AlignStartOrientation
¶ Returns or sets the align start orientation switch of the draw die punch casting, if true use the alignment point to define the start of the punch profile, if false use the default algorithm to define the start of the punch profile.
-------------------------------------
Getter Method
Signature
AlignStartOrientation
Returns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
AlignStartOrientation
Parameters: alignStartOrientation (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
AngleTolerance¶
-
DrawDiePunchBuilder.
AngleTolerance
¶ Returns or sets the angle tolerance of the draw die punch casting.
-------------------------------------
Getter Method
Signature
AngleTolerance
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
AngleTolerance
Parameters: angleTolerance (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
BaseOrientation¶
-
DrawDiePunchBuilder.
BaseOrientation
¶ Returns or sets the base orientation of the draw die punch casting.
-------------------------------------
Getter Method
Signature
BaseOrientation
Returns: Return type: NXOpen.ISurface
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
BaseOrientation
Parameters: baseOrientation ( NXOpen.ISurface
) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
BoltHoleParent¶
-
DrawDiePunchBuilder.
BoltHoleParent
¶ Returns the bolt hole parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
BoltHoleParent
Returns: Return type: NXOpen.Die.HoleParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
CastReliefParent¶
-
DrawDiePunchBuilder.
CastReliefParent
¶ Returns the cast relief builder of the draw die punch.
-------------------------------------
Getter Method
Signature
CastReliefParent
Returns: Return type: NXOpen.Die.CastReliefParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
ClosedStartOrientation¶
-
DrawDiePunchBuilder.
ClosedStartOrientation
¶ Returns or sets the closed start orientation of the draw die punch casting.
-------------------------------------
Getter Method
Signature
ClosedStartOrientation
Returns: Return type: NXOpen.IOrientation
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
ClosedStartOrientation
Parameters: closedStartOrientation ( NXOpen.IOrientation
) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
CoordinatingHoleParent¶
-
DrawDiePunchBuilder.
CoordinatingHoleParent
¶ Returns the coordinating hole parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
CoordinatingHoleParent
Returns: Return type: NXOpen.Die.HoleParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
CorePunch¶
-
DrawDiePunchBuilder.
CorePunch
¶ Returns or sets the core punch switch of the draw die punch casting, if true the punch will be cored, if false the punch will not be cored.
-------------------------------------
Getter Method
Signature
CorePunch
Returns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
CorePunch
Parameters: corePunch (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DeckParent¶
-
DrawDiePunchBuilder.
DeckParent
¶ Returns the deck builder of the draw die punch.
-------------------------------------
Getter Method
Signature
DeckParent
Returns: Return type: NXOpen.Die.DeckParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DieCenterlineCsys¶
-
DrawDiePunchBuilder.
DieCenterlineCsys
¶ Returns or sets the die centerline csys of the draw die punch casting.
-------------------------------------
Getter Method
Signature
DieCenterlineCsys
Returns: Return type: NXOpen.CartesianCoordinateSystem
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
DieCenterlineCsys
Parameters: dieCenterlineCsys ( NXOpen.CartesianCoordinateSystem
) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DisplayHoles¶
-
DrawDiePunchBuilder.
DisplayHoles
¶ Returns or sets the display holes switch of the draw die punch casting, if true holes will be created in the punch, if false holes will not be created.
-------------------------------------
Getter Method
Signature
DisplayHoles
Returns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
DisplayHoles
Parameters: displayHoles (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DistanceTolerance¶
-
DrawDiePunchBuilder.
DistanceTolerance
¶ Returns or sets the distance tolerance of the draw die punch casting.
-------------------------------------
Getter Method
Signature
DistanceTolerance
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
DistanceTolerance
Parameters: distanceTolerance (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DowelHoleParent¶
-
DrawDiePunchBuilder.
DowelHoleParent
¶ Returns the dowel hole parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
DowelHoleParent
Returns: Return type: NXOpen.Die.HoleParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
HandlingCoreParent¶
-
DrawDiePunchBuilder.
HandlingCoreParent
¶ Returns the handling core parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
HandlingCoreParent
Returns: Return type: NXOpen.Die.HandlingCoreParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
KeywayParent¶
-
DrawDiePunchBuilder.
KeywayParent
¶ Returns the keyway parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
KeywayParent
Returns: Return type: NXOpen.Die.KeywayParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
PartialRibbingParent¶
-
DrawDiePunchBuilder.
PartialRibbingParent
¶ Returns the partial ribbing parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
PartialRibbingParent
Returns: Return type: NXOpen.Die.RibParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
PreliminaryBuild¶
-
DrawDiePunchBuilder.
PreliminaryBuild
¶ Returns or sets the preliminary build switch of the draw die punch casting, if true the fast build options will be used, if false accurate build options will be used.
-------------------------------------
Getter Method
Signature
PreliminaryBuild
Returns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
PreliminaryBuild
Parameters: preliminaryBuild (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
PressureSystemParent¶
-
DrawDiePunchBuilder.
PressureSystemParent
¶ Returns the pressure system parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
PressureSystemParent
Returns: Return type: NXOpen.Die.PressureSystemParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
PressureSystemReversalParent¶
-
DrawDiePunchBuilder.
PressureSystemReversalParent
¶ Returns the pressure system reversal parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
PressureSystemReversalParent
Returns: Return type: NXOpen.Die.PointParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
RibbingParent¶
-
DrawDiePunchBuilder.
RibbingParent
¶ Returns the ribbing parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
RibbingParent
Returns: Return type: NXOpen.Die.RibParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Section¶
-
DrawDiePunchBuilder.
Section
¶ Returns the section builder of the draw die punch.
-------------------------------------
Getter Method
Signature
Section
Returns: Return type: NXOpen.Die.DrawDiePunchSectionBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SheetMetal¶
-
DrawDiePunchBuilder.
SheetMetal
¶ Returns or sets the sheet metal of the draw die punch casting.
-------------------------------------
Getter Method
Signature
SheetMetal
Returns: Return type: NXOpen.Body
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
SheetMetal
Parameters: sheetMetal ( NXOpen.Body
) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
StrengtheningRibbingParent¶
-
DrawDiePunchBuilder.
StrengtheningRibbingParent
¶ Returns the strengthening ribbing parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
StrengtheningRibbingParent
Returns: Return type: NXOpen.Die.RibParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
VentHoleParent¶
-
DrawDiePunchBuilder.
VentHoleParent
¶ Returns the vent hole parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
VentHoleParent
Returns: Return type: NXOpen.Die.HoleParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
WearPlateParent¶
-
DrawDiePunchBuilder.
WearPlateParent
¶ Returns the wear plate parent builder of the draw die punch.
-------------------------------------
Getter Method
Signature
WearPlateParent
Returns: Return type: NXOpen.Die.PadParentBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Method Detail¶
GetPunchProfile¶
-
DrawDiePunchBuilder.
GetPunchProfile
¶ Gets the punch profile of the draw die punch casting.
Signature
GetPunchProfile()
Returns: a tuple Return type: A tuple consisting of (direction, profileEntries). direction is a NXOpen.Die.DirectionOption
. Profile direction. profileEntries is a list ofNXOpen.IProfile
. The profile entries, will be curves, edges, faces, sketches or curve features.New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SetPunchProfile¶
-
DrawDiePunchBuilder.
SetPunchProfile
¶ Sets the punch profile of the draw die punch casting.
Signature
SetPunchProfile(direction, profileEntries)
Parameters: - direction (
NXOpen.Die.DirectionOption
) – Profile direction. - profileEntries (list of
NXOpen.IProfile
) – The profile entries, can be curves, edges, faces, sketches or curve features.
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
- direction (
Validate¶
-
DrawDiePunchBuilder.
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.