BendBuilder Class

class NXOpen.Features.SheetMetal.BendBuilder

Bases: NXOpen.Features.SheetMetal.SheetmetalBaseBuilder

Represents a Bend feature builder.

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

New in version NX5.0.0.

Properties

Property Description
BendLocation Returns or sets the Bend Location (Material Side)
BendOptions Returns the Bend Options.
Direction Returns or sets the Bend Direction
ExtendProfile Returns or sets the Extend Option
FixedSide Returns or sets the Fixed Side
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
Section Returns or sets the Section
Sketch Returns or sets the Sketch
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
TargetFace Returns or sets the target face on which bend feature applies.

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.
GetApplicationContext Get the application context.
GetBendAngle Returns the Bend Angle
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.
SetApplicationContext Set the application context.
SetBendAngle Sets the Bend Angle
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.
ValidateBuilderData Verify whether the builder data is valid for creating bend or not.

Enumerations

BendBuilderBendDirectionOptions Enumeration This enum represents the Bend Direction for Bend.
BendBuilderBendLocationOptions Enumeration This enum represents the Bend Location (Material Side) for Bend.
BendBuilderFixedSideOptions Enumeration This enum represents the Fixed Side for Bend.

Property Detail

BendLocation

BendBuilder.BendLocation

Returns or sets the Bend Location (Material Side)

-------------------------------------

Getter Method

Signature BendLocation

Returns:
Return type:NXOpen.Features.SheetMetal.BendBuilderBendLocationOptions

New in version NX5.0.0.

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

-------------------------------------

Setter Method

Signature BendLocation

Parameters:bendLocation (NXOpen.Features.SheetMetal.BendBuilderBendLocationOptions) –

New in version NX5.0.0.

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

BendOptions

BendBuilder.BendOptions

Returns the Bend Options.

The option Features.SheetMetal.BendOptionsCornerReliefTypeOptions.None is not valid for the Features.Bend starting NX11 onwards.

From NX 12 Features.SheetMetal.BendOptions.ExtendBendRelief() has no effect on the Bend feature.

-------------------------------------

Getter Method

Signature BendOptions

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

New in version NX5.0.0.

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

Direction

BendBuilder.Direction

Returns or sets the Bend Direction

-------------------------------------

Getter Method

Signature Direction

Returns:
Return type:NXOpen.Features.SheetMetal.BendBuilderBendDirectionOptions

New in version NX5.0.0.

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

-------------------------------------

Setter Method

Signature Direction

Parameters:direction (NXOpen.Features.SheetMetal.BendBuilderBendDirectionOptions) –

New in version NX5.0.0.

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

ExtendProfile

BendBuilder.ExtendProfile

Returns or sets the Extend Option

-------------------------------------

Getter Method

Signature ExtendProfile

Returns:
Return type:bool

New in version NX5.0.0.

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

-------------------------------------

Setter Method

Signature ExtendProfile

Parameters:extendOption (bool) –

New in version NX5.0.0.

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

FixedSide

BendBuilder.FixedSide

Returns or sets the Fixed Side

-------------------------------------

Getter Method

Signature FixedSide

Returns:
Return type:NXOpen.Features.SheetMetal.BendBuilderFixedSideOptions

New in version NX5.0.0.

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

-------------------------------------

Setter Method

Signature FixedSide

Parameters:fixedSide (NXOpen.Features.SheetMetal.BendBuilderFixedSideOptions) –

New in version NX5.0.0.

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

Section

BendBuilder.Section

Returns or sets the Section

-------------------------------------

Getter Method

Signature Section

Returns:
Return type:NXOpen.Section

New in version NX5.0.0.

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

-------------------------------------

Setter Method

Signature Section

Parameters:section (NXOpen.Section) –

New in version NX5.0.0.

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

Sketch

BendBuilder.Sketch

Returns or sets the Sketch

-------------------------------------

Getter Method

Signature Sketch

Returns:
Return type:NXOpen.Features.SketchFeature

New in version NX5.0.0.

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

-------------------------------------

Setter Method

Signature Sketch

Parameters:sketch (NXOpen.Features.SketchFeature) –

New in version NX5.0.0.

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

TargetFace

BendBuilder.TargetFace

Returns or sets the target face on which bend feature applies.

-------------------------------------

Getter Method

Signature TargetFace

Returns:Returns the target face on which the bend feature is created.
Return type:NXOpen.Face

New in version NX10.0.0.

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

-------------------------------------

Setter Method

Signature TargetFace

Parameters:targetFace (NXOpen.Face) – A planar non-deform sheet metal face on which the bend feature is to be created.

New in version NX10.0.0.

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

Method Detail

GetBendAngle

BendBuilder.GetBendAngle

Returns the Bend Angle

Signature GetBendAngle()

Returns:
Return type:NXOpen.Expression

New in version NX5.0.0.

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

SetBendAngle

BendBuilder.SetBendAngle

Sets the Bend Angle

Signature SetBendAngle(bendAngle)

Parameters:bendAngle (str) –

New in version NX5.0.0.

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

Validate

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

ValidateBuilderData

BendBuilder.ValidateBuilderData

Verify whether the builder data is valid for creating bend or not.

If the Builder data is valid, returned value should be 0

Signature ValidateBuilderData()

Returns:Data Validity Flag.
Return type:int

New in version NX5.0.0.

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