CornerTreatmentBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# CornerTreatmentBuilder Class

class `NXOpen.Features.SheetMetal.``CornerTreatmentBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  The CornerTreatmentBuilder class is used to manage a builder object for a corner treatment in the flat solid and flat pattern dialogs.

  It includes properties and an enumeration type for a flag that indicates whether the global (flat pattern preferences) value is to be used, an enumeration type that indicates what type of corner treatment to apply, and an expression to indicate the value associated with treatment types chamfer and radius.

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
Tag | Returns the Tag for this object.
TreatmentType | Returns or sets the treatment type option menu value
UseGlobal | Returns or sets the use global toggle value
Value | Returns the value associated with the chamfer and radius treatment types

# Methods

Method | Description
--- | ---
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

CornerTreatmentBuilderCornerTreatmentType Enumeration | Corner Treatment Type

# Property Detail

## TreatmentType

`CornerTreatmentBuilder.``TreatmentType`

  Returns or sets the treatment type option menu value

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

  Getter Method

  Signature `TreatmentType`

  Returns: |
  Return type: | `NXOpen.Features.SheetMetal.CornerTreatmentBuilderCornerTreatmentType`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `TreatmentType`

  Parameters: | treatmentType (`NXOpen.Features.SheetMetal.CornerTreatmentBuilderCornerTreatmentType`) –

  New in version NX6.0.0.

  License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)

## UseGlobal

`CornerTreatmentBuilder.``UseGlobal`

  Returns or sets the use global toggle value

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

  Getter Method

  Signature `UseGlobal`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `UseGlobal`

  Parameters: | useGlobal (bool) –

  New in version NX6.0.0.

  License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)

## Value

`CornerTreatmentBuilder.``Value`

  Returns the value associated with the chamfer and radius treatment types

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

  Getter Method

  Signature `Value`

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

  New in version NX6.0.0.

  License requirements: None.

# Method Detail

## Validate

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