ContourFlangeBuilder Class

class NXOpen.Features.SheetMetal.ContourFlangeBuilder

Bases: NXOpen.Features.SheetMetal.SheetmetalBaseBuilder

Represents a Contour Flange feature builder.

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

New in version NX4.0.0.

Properties

Property Description
BendOptions Returns the bend options
EdgeChain Returns or sets the section having chain edges.
IsSecondary Returns or sets the contour flange type.
MiterOptions Returns the miter options
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 of contour flange
Sketch Returns or sets the sketch
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
SweepSide Returns or sets the projection direction of contour flange
SweepType Returns or sets the projection side of contour flange
Tag Returns the Tag for this object.
ThicknessSide Returns or sets the thickness side of contour flange

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.
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.
GetSweepDistance THE projection distance of contour flange
GetThickness THE thickness of contour flange
HideInternalParentFeatureAfterEdit Re-suppress an internal parent feature (a slave feature) after it has been edited.
SetApplicationContext Set the application context.
SetParentFeatureInternal Set the parent features which would be internal or slaves to the feature being created or commited
SetSweepDistance  
SetThickness  
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 a Contour Flange or not.

Enumerations

ContourFlangeBuilderSectionSideOptions Enumeration This enum represents the side of the section in which material is created.
ContourFlangeBuilderSweepSideOptions Enumeration This enum represents the side in which the contour flange will be swept.
ContourFlangeBuilderSweepTypeOptions Enumeration This enum represents the sweep type of the contour flange

Property Detail

BendOptions

ContourFlangeBuilder.BendOptions

Returns the bend options

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

Getter Method

Signature BendOptions

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

New in version NX4.0.0.

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

EdgeChain

ContourFlangeBuilder.EdgeChain

Returns or sets the section having chain edges.

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

Getter Method

Signature EdgeChain

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 EdgeChain

Parameters:edgeChain (NXOpen.Section) –

New in version NX5.0.0.

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

IsSecondary

ContourFlangeBuilder.IsSecondary

Returns or sets the contour flange type.

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

Getter Method

Signature IsSecondary

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 IsSecondary

Parameters:isSecondary (bool) –

New in version NX5.0.0.

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

MiterOptions

ContourFlangeBuilder.MiterOptions

Returns the miter options

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

Getter Method

Signature MiterOptions

Returns:Miter data
Return type:NXOpen.Features.SheetMetal.MiterOptions

New in version NX4.0.0.

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

Section

ContourFlangeBuilder.Section

Returns or sets the section of contour flange

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

Getter Method

Signature Section

Returns:section of contour flange
Return type:NXOpen.Section

New in version NX4.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 NX4.0.0.

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

Sketch

ContourFlangeBuilder.Sketch

Returns or sets the sketch

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

Getter Method

Signature Sketch

Returns:sketch
Return type:NXOpen.Features.SketchFeature

New in version NX4.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) – sketch

New in version NX4.0.0.

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

SweepSide

ContourFlangeBuilder.SweepSide

Returns or sets the projection direction of contour flange

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

Getter Method

Signature SweepSide

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

New in version NX4.0.0.

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

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

Setter Method

Signature SweepSide

Parameters:sweepSide (NXOpen.Features.SheetMetal.ContourFlangeBuilderSweepSideOptions) –

New in version NX4.0.0.

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

SweepType

ContourFlangeBuilder.SweepType

Returns or sets the projection side of contour flange

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

Getter Method

Signature SweepType

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

New in version NX4.0.0.

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

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

Setter Method

Signature SweepType

Parameters:sweepType (NXOpen.Features.SheetMetal.ContourFlangeBuilderSweepTypeOptions) –

New in version NX4.0.0.

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

ThicknessSide

ContourFlangeBuilder.ThicknessSide

Returns or sets the thickness side of contour flange

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

Getter Method

Signature ThicknessSide

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

New in version NX4.0.0.

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

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

Setter Method

Signature ThicknessSide

Parameters:sectionSide (NXOpen.Features.SheetMetal.ContourFlangeBuilderSectionSideOptions) –

New in version NX4.0.0.

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

Method Detail

GetSweepDistance

ContourFlangeBuilder.GetSweepDistance

THE projection distance of contour flange

Signature GetSweepDistance()

Returns:
Return type:NXOpen.Expression

New in version NX4.0.0.

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

GetThickness

ContourFlangeBuilder.GetThickness

THE thickness of contour flange

Signature GetThickness()

Returns:
Return type:NXOpen.Expression

New in version NX4.0.0.

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

SetSweepDistance

ContourFlangeBuilder.SetSweepDistance

Signature SetSweepDistance(sweepDistance)

Parameters:sweepDistance (str) –

New in version NX4.0.0.

Deprecated since version NX10.0.0: Use Expression.RightHandSide() on the Expression object returned from Features.SheetMetal.ContourFlangeBuilder.GetSweepDistance() instead.

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

SetThickness

ContourFlangeBuilder.SetThickness

Signature SetThickness(thickness)

Parameters:thickness (str) –

New in version NX4.0.0.

Deprecated since version NX10.0.0: Use Expression.RightHandSide() on the Expression object returned from Features.SheetMetal.ContourFlangeBuilder.GetThickness() instead.

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

Validate

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

ContourFlangeBuilder.ValidateBuilderData

Verify whether the builder data is valid for creating a Contour Flange or not.

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

Signature ValidateBuilderData()

Returns:Data Validity Flag.
Return type:int

New in version NX4.0.0.

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