AdvancedFlangeBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# AdvancedFlangeBuilder Class

class `NXOpen.Features.SheetMetal.``AdvancedFlangeBuilder`

  Bases: `NXOpen.Features.FeatureBuilder`

  Represents a Sheetmetal Advanced Flange builder class.

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

  Default values.

  Property | Value
  --- | ---
  Angle.Value | 0
  EndAdjustment.Value | 0
  FlatPatternCompensationAtEnd | 0
  FlatPatternCompensationAtStart | 0
  InferLength | 0
  Inset | MaterialInside
  Length.Value | 0 (millimeters part), 0 (inches part)
  LengthReference | Inside
  StartAdjustment.Value | 0

  New in version NX11.0.0.

# Properties

Property | Description
--- | ---
Angle | Returns the angle
BendOptions | Returns the Sheet Metal Bend Options
Edges | Returns the base edge for the advanced flange.
EndAdjustment | Returns the flat pattern compensation adjustment at end of the flange
Faces | Returns the reference face for advanced flange
FlatPatternCompensationAtEnd | Returns or sets the option to apply flat pattern compensation at end of the flange
FlatPatternCompensationAtStart | Returns or sets the option to apply flat pattern compensation at start of the flange
InferLength | Returns or sets the infer length option
Inset | Returns or sets the inset type
Length | Returns the length
LengthReference | Returns or sets the length reference
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
Plane1 | Returns or sets the first plane for the end limits
Plane2 | Returns or sets the second plane for the end limits
ReverseDirection | Returns or sets the option to reverse length direction
ReverseTrimSide | Returns or sets the option to reverse trim side
StartAdjustment | Returns the flat pattern compensation adjustment at start of the flange
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename
Tag | Returns the Tag for this object.
Type | Returns or sets the advanced flange type

# 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.
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

AdvancedFlangeBuilderInsets Enumeration | This enum defines the material types
AdvancedFlangeBuilderLengthReferences Enumeration | This enum defines the flange length dimension types
AdvancedFlangeBuilderTypes Enumeration | This enum defines the type options.

# Property Detail

## Angle

`AdvancedFlangeBuilder.``Angle`

  Returns the angle

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

  Getter Method

  Signature `Angle`

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

  New in version NX11.0.0.

  License requirements: None.

## BendOptions

`AdvancedFlangeBuilder.``BendOptions`

  Returns the Sheet Metal Bend Options

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

  Getter Method

  Signature `BendOptions`

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

  New in version NX11.0.0.

  License requirements: None.

## Edges

`AdvancedFlangeBuilder.``Edges`

  Returns the base edge for the advanced flange.

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

  Getter Method

  Signature `Edges`

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

  New in version NX11.0.0.

  License requirements: None.

## EndAdjustment

`AdvancedFlangeBuilder.``EndAdjustment`

  Returns the flat pattern compensation adjustment at end of the flange

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

  Getter Method

  Signature `EndAdjustment`

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

  New in version NX11.0.0.

  License requirements: None.

## Faces

`AdvancedFlangeBuilder.``Faces`

  Returns the reference face for advanced flange

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

  Getter Method

  Signature `Faces`

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

  New in version NX11.0.0.

  License requirements: None.

## FlatPatternCompensationAtEnd

`AdvancedFlangeBuilder.``FlatPatternCompensationAtEnd`

  Returns or sets the option to apply flat pattern compensation at end of the flange

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

  Getter Method

  Signature `FlatPatternCompensationAtEnd`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `FlatPatternCompensationAtEnd`

  Parameters: | flatPatternCompensationAtEnd (bool) –

  New in version NX11.0.0.

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

## FlatPatternCompensationAtStart

`AdvancedFlangeBuilder.``FlatPatternCompensationAtStart`

  Returns or sets the option to apply flat pattern compensation at start of the flange

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

  Getter Method

  Signature `FlatPatternCompensationAtStart`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `FlatPatternCompensationAtStart`

  Parameters: | flatPatternCompensationAtStart (bool) –

  New in version NX11.0.0.

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

## InferLength

`AdvancedFlangeBuilder.``InferLength`

  Returns or sets the infer length option

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

  Getter Method

  Signature `InferLength`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `InferLength`

  Parameters: | inferLength (bool) –

  New in version NX11.0.0.

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

## Inset

`AdvancedFlangeBuilder.``Inset`

  Returns or sets the inset type

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

  Getter Method

  Signature `Inset`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Inset`

  Parameters: | inset (`NXOpen.Features.SheetMetal.AdvancedFlangeBuilderInsets`) –

  New in version NX11.0.0.

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

## Length

`AdvancedFlangeBuilder.``Length`

  Returns the length

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

  Getter Method

  Signature `Length`

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

  New in version NX11.0.0.

  License requirements: None.

## LengthReference

`AdvancedFlangeBuilder.``LengthReference`

  Returns or sets the length reference

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

  Getter Method

  Signature `LengthReference`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LengthReference`

  Parameters: | lengthReference (`NXOpen.Features.SheetMetal.AdvancedFlangeBuilderLengthReferences`) –

  New in version NX11.0.0.

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

## Plane1

`AdvancedFlangeBuilder.``Plane1`

  Returns or sets the first plane for the end limits

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

  Getter Method

  Signature `Plane1`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Plane1`

  Parameters: | plane1 (`NXOpen.Plane`) –

  New in version NX11.0.0.

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

## Plane2

`AdvancedFlangeBuilder.``Plane2`

  Returns or sets the second plane for the end limits

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

  Getter Method

  Signature `Plane2`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Plane2`

  Parameters: | plane2 (`NXOpen.Plane`) –

  New in version NX11.0.0.

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

## ReverseDirection

`AdvancedFlangeBuilder.``ReverseDirection`

  Returns or sets the option to reverse length direction

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

  Getter Method

  Signature `ReverseDirection`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ReverseDirection`

  Parameters: | reverseDirection (bool) –

  New in version NX11.0.0.

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

## ReverseTrimSide

`AdvancedFlangeBuilder.``ReverseTrimSide`

  Returns or sets the option to reverse trim side

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

  Getter Method

  Signature `ReverseTrimSide`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ReverseTrimSide`

  Parameters: | reverseTrimSide (bool) –

  New in version NX11.0.0.

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

## StartAdjustment

`AdvancedFlangeBuilder.``StartAdjustment`

  Returns the flat pattern compensation adjustment at start of the flange

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

  Getter Method

  Signature `StartAdjustment`

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

  New in version NX11.0.0.

  License requirements: None.

## Type

`AdvancedFlangeBuilder.``Type`

  Returns or sets the advanced flange type

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

  Getter Method

  Signature `Type`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Type`

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

  New in version NX11.0.0.

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

# Method Detail

## Validate

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