VarsweepBuilder Class

class NXOpen.Features.VarsweepBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a Variational Sweep feature builder.

It creates or edits VarSweep feature. To create a new instance of this class, use NXOpen.Features.FeatureCollection.CreateVarsweepBuilder()

Default values.

Property Value
ConstantFittingSectionCount -1
PlayButtons.CurrentStep 0
PlayButtons.PlayModes PlayOnce
PlayButtons.ScaleSpeed 1
PlayButtons.ScaleStep 0
PlayButtons.Speed 1
ReviewSection 0

New in version NX4.0.0.

Properties

Property Description
AngularTolerance Returns or sets the angle tolerance [degrees]
BooleanOperation Returns the boolean option
ConstantFittingSectionCount Returns or sets the constant fitting section count
DistanceTolerance Returns or sets the distance tolerance
FeatureOptions Returns the solid versus sheet body type option
Limits Returns the variational sweep limits
List Returns or sets the secondary section list
MergeFacesOption Returns or sets the merge faces option
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
PathIncrement Returns the path increment
PlayButtons Returns the play buttons builder
ReProjectCurvesOption Returns or sets the re-project curves option
ReviewSection Returns or sets the review section
Section Returns or sets the master section.
SketchOnPathFeature Returns the sketch on path
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.

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.
NewListItem Create new list item
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.

Property Detail

AngularTolerance

VarsweepBuilder.AngularTolerance

Returns or sets the angle tolerance [degrees]

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

Getter Method

Signature AngularTolerance

Returns:
Return type:float

New in version NX4.0.0.

License requirements: None.

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

Setter Method

Signature AngularTolerance

Parameters:angleTolerance (float) –

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

BooleanOperation

VarsweepBuilder.BooleanOperation

Returns the boolean option

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

Getter Method

Signature BooleanOperation

Returns:
Return type:NXOpen.GeometricUtilities.BooleanOperation

New in version NX4.0.0.

License requirements: None.

ConstantFittingSectionCount

VarsweepBuilder.ConstantFittingSectionCount

Returns or sets the constant fitting section count

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

Getter Method

Signature ConstantFittingSectionCount

Returns:
Return type:int

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature ConstantFittingSectionCount

Parameters:constantFittingSectionCount (int) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

DistanceTolerance

VarsweepBuilder.DistanceTolerance

Returns or sets the distance tolerance

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

Getter Method

Signature DistanceTolerance

Returns:
Return type:float

New in version NX4.0.0.

License requirements: None.

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

Setter Method

Signature DistanceTolerance

Parameters:distanceTolerance (float) –

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

FeatureOptions

VarsweepBuilder.FeatureOptions

Returns the solid versus sheet body type option

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

Getter Method

Signature FeatureOptions

Returns:
Return type:NXOpen.GeometricUtilities.FeatureOptions

New in version NX4.0.0.

License requirements: None.

Limits

VarsweepBuilder.Limits

Returns the variational sweep limits

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

Getter Method

Signature Limits

Returns:The variational sweep limits.
Return type:NXOpen.GeometricUtilities.Limits

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

List

VarsweepBuilder.List

Returns or sets the secondary section list

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

Getter Method

Signature List

Returns:
Return type:NXOpen.ObjectList

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature List

Parameters:list (NXOpen.ObjectList) –

New in version NX5.0.0.

License requirements: None.

MergeFacesOption

VarsweepBuilder.MergeFacesOption

Returns or sets the merge faces option

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

Getter Method

Signature MergeFacesOption

Returns:
Return type:bool

New in version NX4.0.0.

License requirements: None.

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

Setter Method

Signature MergeFacesOption

Parameters:mergeFacesOption (bool) –

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

PathIncrement

VarsweepBuilder.PathIncrement

Returns the path increment

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

Getter Method

Signature PathIncrement

Returns:
Return type:NXOpen.GeometricUtilities.OnPathDimensionBuilder

New in version NX11.0.0.

License requirements: None.

PlayButtons

VarsweepBuilder.PlayButtons

Returns the play buttons builder

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

Getter Method

Signature PlayButtons

Returns:
Return type:NXOpen.GeometricUtilities.PlayButtonsBuilder

New in version NX11.0.0.

License requirements: None.

ReProjectCurvesOption

VarsweepBuilder.ReProjectCurvesOption

Returns or sets the re-project curves option

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

Getter Method

Signature ReProjectCurvesOption

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature ReProjectCurvesOption

Parameters:reProjectCurvesOption (bool) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

ReviewSection

VarsweepBuilder.ReviewSection

Returns or sets the review section

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

Getter Method

Signature ReviewSection

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature ReviewSection

Parameters:reviewSection (bool) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Section

VarsweepBuilder.Section

Returns or sets the master section.

Variational sweep accepts sections created ONLY on in the context of a Sketch on Path. Make sure this section is coming from sketch curves created using the sketch on path feature. Return code : 0 : no error, VARSWEEP_SKETCH_NOT_ON_PATH : on an error condition

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

Getter Method

Signature Section

Returns:
Return type:NXOpen.Section

New in version NX4.0.0.

License requirements: None.

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

Setter Method

Signature Section

Parameters:section (NXOpen.Section) – master section

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

SketchOnPathFeature

VarsweepBuilder.SketchOnPathFeature

Returns the sketch on path

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

Getter Method

Signature SketchOnPathFeature

Returns:
Return type:NXOpen.Features.Feature

New in version NX4.0.0.

License requirements: None.

Method Detail

NewListItem

VarsweepBuilder.NewListItem

Create new list item

Signature NewListItem()

Returns:
Return type:NXOpen.GeometricUtilities.SecondarySectionData

New in version NX5.0.0.

License requirements: None.

Validate

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