DrawDiePunchSectionBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# DrawDiePunchSectionBuilder Class

class `NXOpen.Die.``DrawDiePunchSectionBuilder`

  Bases: `NXOpen.Features.FeatureBuilder`

  Represents a Draw Die Punch Section sub feature.

  This sub feature is created via the main feature builder.

  New in version NX4.0.0.

# Properties

Property | Description
--- | ---
BaseThickness | Returns the base thickness of the draw die punch casting.
BaseWidth | Returns the base width of the draw die punch casting.
BeltThickness | Returns the belt thickness of the draw die punch casting.
BuildStatus | Returns the build status of the draw die punch casting.
DeckThickness | Returns the deck thickness of the draw die punch casting.
DesignStatus | Returns the design status of the draw die punch casting, if true the casting will be built into the model, if false it will not.
DisplayStatus | Returns the display status of the draw die punch casting, if true input data to the draw die punch casting will be displayed, if false the input data will not be displayed.
OffsetProfileToTop | Returns the offset profile to top distance of the draw die punch casting.
ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal
PartialRibHeight | Returns the partial rib height of the draw die punch casting.
PatchSolutionFlag | Returns or sets the patch solution flag
PatchSurfaceFilename | Returns or sets the patch surface filename
ReliefAngle | Returns the relief angle of the draw die punch casting.
ReliefDistance | Returns the relief distance of the draw die punch casting.
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename
Tag | Returns the Tag for this object.
WallThickness | Returns the wall thickness of the draw die punch casting.

# 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.
GetBaseAttributes | Gets the base faces attributes.
GetBeltWallAttributes | Gets the belt wall faces attributes.
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.
GetFormingAttributes | Gets the forming faces attributes.
GetObject | Returns the object currently being edited by this builder.
GetPunchProfileAttributes | Gets the punch profile edges attributes.
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited.
SetBaseAttributes | Sets the base faces attributes.
SetBaseThickness |
SetBaseWidth |
SetBeltThickness |
SetBeltWallAttributes | Sets the belt wall faces attributes.
SetDeckThickness |
SetDesignStatus |
SetDisplayStatus |
SetFormingAttributes | Sets the forming faces attributes.
SetOffsetProfileToTop |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited
SetPartialRibHeight |
SetPunchProfileAttributes | Sets the punch profile edges attributes.
SetReliefAngle |
SetReliefDistance |
SetWallThickness |
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

## BaseThickness

`DrawDiePunchSectionBuilder.``BaseThickness`

  Returns the base thickness of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `BaseThickness`

  Returns: |
  Return type: | float

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## BaseWidth

`DrawDiePunchSectionBuilder.``BaseWidth`

  Returns the base width of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `BaseWidth`

  Returns: |
  Return type: | float

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## BeltThickness

`DrawDiePunchSectionBuilder.``BeltThickness`

  Returns the belt thickness of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `BeltThickness`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## BuildStatus

`DrawDiePunchSectionBuilder.``BuildStatus`

  Returns the build status of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `BuildStatus`

  Returns: |
  Return type: | `NXOpen.Die.DieBuildStatusOption`

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## DeckThickness

`DrawDiePunchSectionBuilder.``DeckThickness`

  Returns the deck thickness of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `DeckThickness`

  Returns: |
  Return type: | float

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## DesignStatus

`DrawDiePunchSectionBuilder.``DesignStatus`

  Returns the design status of the draw die punch casting, if true the casting will be built into the model, if false it will not.

  `-------------------------------------`

  Getter Method

  Signature `DesignStatus`

  Returns: |
  Return type: | bool

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## DisplayStatus

`DrawDiePunchSectionBuilder.``DisplayStatus`

  Returns the display status of the draw die punch casting, if true input data to the draw die punch casting will be displayed, if false the input data will not be displayed.

  `-------------------------------------`

  Getter Method

  Signature `DisplayStatus`

  Returns: |
  Return type: | bool

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## OffsetProfileToTop

`DrawDiePunchSectionBuilder.``OffsetProfileToTop`

  Returns the offset profile to top distance of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `OffsetProfileToTop`

  Returns: |
  Return type: | float

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## PartialRibHeight

`DrawDiePunchSectionBuilder.``PartialRibHeight`

  Returns the partial rib height of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `PartialRibHeight`

  Returns: |
  Return type: | float

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## ReliefAngle

`DrawDiePunchSectionBuilder.``ReliefAngle`

  Returns the relief angle of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `ReliefAngle`

  Returns: |
  Return type: | float

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## ReliefDistance

`DrawDiePunchSectionBuilder.``ReliefDistance`

  Returns the relief distance of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `ReliefDistance`

  Returns: |
  Return type: | float

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## WallThickness

`DrawDiePunchSectionBuilder.``WallThickness`

  Returns the wall thickness of the draw die punch casting.

  `-------------------------------------`

  Getter Method

  Signature `WallThickness`

  Returns: |
  Return type: | float

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

# Method Detail

## GetBaseAttributes

`DrawDiePunchSectionBuilder.``GetBaseAttributes`

  Gets the base faces attributes.

  Signature `GetBaseAttributes()`

  Returns: | a tuple
  Return type: | A tuple consisting of (title, value, color) title is a str. Title for attribute. value is a str. Value of attribute. color is a int. Color of base faces.

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## GetBeltWallAttributes

`DrawDiePunchSectionBuilder.``GetBeltWallAttributes`

  Gets the belt wall faces attributes.

  Signature `GetBeltWallAttributes()`

  Returns: | a tuple
  Return type: | A tuple consisting of (title, value, color) title is a str. Title for attribute. value is a str. Value of attribute. color is a int. Color of belt wall faces.

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## GetFormingAttributes

`DrawDiePunchSectionBuilder.``GetFormingAttributes`

  Gets the forming faces attributes.

  Signature `GetFormingAttributes()`

  Returns: | a tuple
  Return type: | A tuple consisting of (title, value, color) title is a str. Title for attribute. value is a str. Value of attribute. color is a int. Color of forming faces.

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## GetPunchProfileAttributes

`DrawDiePunchSectionBuilder.``GetPunchProfileAttributes`

  Gets the punch profile edges attributes.

  Signature `GetPunchProfileAttributes()`

  Returns: | a tuple
  Return type: | A tuple consisting of (title, value) title is a str. Title for attribute. value is a str. Value of attribute.

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetBaseAttributes

`DrawDiePunchSectionBuilder.``SetBaseAttributes`

  Sets the base faces attributes.

  Signature `SetBaseAttributes(title, value, color)`

  Parameters:

  - title (str) – Title for attribute.
  - value (str) – Value of attribute.
  - color (int) – Color of base faces.

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetBaseThickness

`DrawDiePunchSectionBuilder.``SetBaseThickness`

  Signature `SetBaseThickness(baseThickness)`

  Parameters: | baseThickness (float) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetBaseWidth

`DrawDiePunchSectionBuilder.``SetBaseWidth`

  Signature `SetBaseWidth(baseWidth)`

  Parameters: | baseWidth (float) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetBeltThickness

`DrawDiePunchSectionBuilder.``SetBeltThickness`

  Signature `SetBeltThickness(beltThickness)`

  Parameters: | beltThickness (str) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetBeltWallAttributes

`DrawDiePunchSectionBuilder.``SetBeltWallAttributes`

  Sets the belt wall faces attributes.

  Signature `SetBeltWallAttributes(title, value, color)`

  Parameters:

  - title (str) – Title for attribute.
  - value (str) – Value of attribute.
  - color (int) – Color of belt wall faces.

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetDeckThickness

`DrawDiePunchSectionBuilder.``SetDeckThickness`

  Signature `SetDeckThickness(deckThickness)`

  Parameters: | deckThickness (float) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetDesignStatus

`DrawDiePunchSectionBuilder.``SetDesignStatus`

  Signature `SetDesignStatus(designStatus)`

  Parameters: | designStatus (bool) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetDisplayStatus

`DrawDiePunchSectionBuilder.``SetDisplayStatus`

  Signature `SetDisplayStatus(displayStatus)`

  Parameters: | displayStatus (bool) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetFormingAttributes

`DrawDiePunchSectionBuilder.``SetFormingAttributes`

  Sets the forming faces attributes.

  Signature `SetFormingAttributes(title, value, color)`

  Parameters:

  - title (str) – Title for attribute.
  - value (str) – Value of attribute.
  - color (int) – Color of forming faces.

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetOffsetProfileToTop

`DrawDiePunchSectionBuilder.``SetOffsetProfileToTop`

  Signature `SetOffsetProfileToTop(offsetProfileToTop)`

  Parameters: | offsetProfileToTop (float) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetPartialRibHeight

`DrawDiePunchSectionBuilder.``SetPartialRibHeight`

  Signature `SetPartialRibHeight(partialRibHeight)`

  Parameters: | partialRibHeight (float) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetPunchProfileAttributes

`DrawDiePunchSectionBuilder.``SetPunchProfileAttributes`

  Sets the punch profile edges attributes.

  Signature `SetPunchProfileAttributes(title, value)`

  Parameters:

  - title (str) – Title for attribute.
  - value (str) – Value of attribute.

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetReliefAngle

`DrawDiePunchSectionBuilder.``SetReliefAngle`

  Signature `SetReliefAngle(reliefAngle)`

  Parameters: | reliefAngle (float) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetReliefDistance

`DrawDiePunchSectionBuilder.``SetReliefDistance`

  Signature `SetReliefDistance(reliefDistance)`

  Parameters: | reliefDistance (float) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## SetWallThickness

`DrawDiePunchSectionBuilder.``SetWallThickness`

  Signature `SetWallThickness(wallThickness)`

  Parameters: | wallThickness (float) –

  New in version NX4.0.0.

  License requirements: ug_die_design (“Die Design”)

## Validate

`DrawDiePunchSectionBuilder.``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.