LighteningCutoutBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# LighteningCutoutBuilder Class

class `NXOpen.Features.SheetMetal.``LighteningCutoutBuilder`

  Bases: `NXOpen.Features.FeatureBuilder`

  Represents a `Features.SheetMetal.LighteningCutout` builder

  To create a new instance of this class, use `NXOpen.Features.SheetMetal.SheetmetalManager.CreateLighteningCutoutBuilder()`

  Default values.

  Property | Value
  --- | ---
  Angle.Value | 45
  CheckClearance | 1
  Clearance.Value | 5 (millimeters part), 0.12 (inches part)
  Diameter.Value | 102 (millimeters part), 2.6 (inches part)
  DieRadius.Value | 8 (millimeters part), 0.2 (inches part)
  Length.Value | 6 (millimeters part), 0.125 (inches part)
  NeutralFactor.Value (deprecated) | 0.33
  SectionCornerRadius.Value | 8 (millimeters part), 0.2 (inches part)
  Type | UserDefined

  New in version NX11.0.0.

# Properties

Property | Description
--- | ---
Angle | Returns the angle
BendOptions | Returns the bend options
CheckClearance | Returns or sets whether to check the clearance
Clearance | Returns the clearance
Diameter | Returns the diameter when the type is `NXOpen.Features.SheetMetal.LighteningCutoutBuilderCutoutType.Hole`
DieRadius | Returns the die radius
HoleCenter | Returns the hole center when the type is `NXOpen.Features.SheetMetal.LighteningCutoutBuilderCutoutType.Hole`
Length | Returns the length
NeutralFactor | Returns the neutral factor
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
ReverseBendDirection | Returns or sets whether the bend direction is reversed
SectionCornerRadius | Returns the section corner radius
Sketch | Returns the Sketch used by Lightening Cutout
StandardName | Returns or sets the standard name selected
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename
Tag | Returns the Tag for this object.
Type | Returns or sets the type
UserDefinedSection | Returns the section when the type is `NXOpen.Features.SheetMetal.LighteningCutoutBuilderCutoutType.UserDefined`

# 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.
GetStandards | Returns the standard names available for the material selected
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
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.

# Enumerations

LighteningCutoutBuilderCutoutType Enumeration | Represents the type of Lightening Cutout

# Property Detail

## Angle

`LighteningCutoutBuilder.``Angle`

  Returns the angle

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

  Getter Method

  Signature `Angle`

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

  New in version NX11.0.0.

  License requirements: None.

## BendOptions

`LighteningCutoutBuilder.``BendOptions`

  Returns the bend options

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

  Getter Method

  Signature `BendOptions`

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

  New in version NX12.0.0.

  License requirements: None.

## CheckClearance

`LighteningCutoutBuilder.``CheckClearance`

  Returns or sets whether to check the clearance

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

  Getter Method

  Signature `CheckClearance`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `CheckClearance`

  Parameters: | checkClearance (bool) –

  New in version NX11.0.0.

  License requirements: adv_sheet_metal_dsgn (“ADVANCED SHEET METAL DESIGN”)

## Clearance

`LighteningCutoutBuilder.``Clearance`

  Returns the clearance

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

  Getter Method

  Signature `Clearance`

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

  New in version NX11.0.0.

  License requirements: None.

## Diameter

`LighteningCutoutBuilder.``Diameter`

  Returns the diameter when the type is `NXOpen.Features.SheetMetal.LighteningCutoutBuilderCutoutType.Hole`

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

  Getter Method

  Signature `Diameter`

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

  New in version NX11.0.0.

  License requirements: None.

## DieRadius

`LighteningCutoutBuilder.``DieRadius`

  Returns the die radius

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

  Getter Method

  Signature `DieRadius`

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

  New in version NX11.0.0.

  License requirements: None.

## HoleCenter

`LighteningCutoutBuilder.``HoleCenter`

  Returns the hole center when the type is `NXOpen.Features.SheetMetal.LighteningCutoutBuilderCutoutType.Hole`

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

  Getter Method

  Signature `HoleCenter`

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

  New in version NX11.0.0.

  License requirements: None.

## Length

`LighteningCutoutBuilder.``Length`

  Returns the length

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

  Getter Method

  Signature `Length`

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

  New in version NX11.0.0.

  License requirements: None.

## NeutralFactor

`LighteningCutoutBuilder.``NeutralFactor`

  Returns the neutral factor

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

  Getter Method

  Signature `NeutralFactor`

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

  New in version NX11.0.0.

  Deprecated since version NX12.0.0: Obtain the bend options object using `NXOpen.Features.SheetMetal.LighteningCutoutBuilder.BendOptions()` and from bend options, get Neutral Factor using `NXOpen.Features.SheetMetal.BendOptions.NeutralFactor()`

  License requirements: None.

## ReverseBendDirection

`LighteningCutoutBuilder.``ReverseBendDirection`

  Returns or sets whether the bend direction is reversed

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

  Getter Method

  Signature `ReverseBendDirection`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ReverseBendDirection`

  Parameters: | reverseBendDirection (bool) –

  New in version NX11.0.0.

  License requirements: adv_sheet_metal_dsgn (“ADVANCED SHEET METAL DESIGN”)

## SectionCornerRadius

`LighteningCutoutBuilder.``SectionCornerRadius`

  Returns the section corner radius

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

  Getter Method

  Signature `SectionCornerRadius`

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

  New in version NX11.0.0.

  License requirements: None.

## Sketch

`LighteningCutoutBuilder.``Sketch`

  Returns the Sketch used by Lightening Cutout

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

  Getter Method

  Signature `Sketch`

  Returns: |
  Return type: | `NXOpen.Features.SketchFeature`

  New in version NX11.0.0.

  License requirements: None.

## StandardName

`LighteningCutoutBuilder.``StandardName`

  Returns or sets the standard name selected

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

  Getter Method

  Signature `StandardName`

  Returns: |
  Return type: | str

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `StandardName`

  Parameters: | standardName (str) –

  New in version NX11.0.0.

  License requirements: adv_sheet_metal_dsgn (“ADVANCED SHEET METAL DESIGN”)

## Type

`LighteningCutoutBuilder.``Type`

  Returns or sets the type

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

  Getter Method

  Signature `Type`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Type`

  Parameters: | type (`NXOpen.Features.SheetMetal.LighteningCutoutBuilderCutoutType`) –

  New in version NX11.0.0.

  License requirements: adv_sheet_metal_dsgn (“ADVANCED SHEET METAL DESIGN”)

## UserDefinedSection

`LighteningCutoutBuilder.``UserDefinedSection`

  Returns the section when the type is `NXOpen.Features.SheetMetal.LighteningCutoutBuilderCutoutType.UserDefined`

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

  Getter Method

  Signature `UserDefinedSection`

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

  New in version NX11.0.0.

  License requirements: None.

# Method Detail

## GetStandards

`LighteningCutoutBuilder.``GetStandards`

  Returns the standard names available for the material selected

  Signature `GetStandards()`

  Returns: |
  Return type: | list of str

  New in version NX11.0.0.

  License requirements: None.

## Validate

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