RouteSweptFoldBuilder Class¶
-
class
NXOpen.Routing.RouteSweptFoldBuilder¶ Bases:
NXOpen.BuilderRepresents a Rout Swept Fold Builder
To create a new instance of this class, use
NXOpen.Routing.RouteManager.CreateRouteSweptFoldBuilder()New in version NX7.0.0.
Properties¶
| Property | Description |
|---|---|
| BendAngle | Returns the bend angle |
| BendRadius | Returns the bend radius |
| FoldLocation | Returns the fold location |
| FoldRotationAngle | Returns the fold rotation angle |
| FoldStartRotationAngle | Returns the fold start rotation angle |
| LengthAdjustment | Returns the length adjustment |
| ReverseBendAngle | Returns or sets the reverse bend angle |
| ReverseFixedSegment | Returns or sets the reverse fixed segment |
| ReverseFoldRotationAngle | Returns or sets the reverse fold rotation angle |
| Spline | Returns the spline stored in the builder. |
| StockSelection | Returns the stock selection. |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| 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. |
| GetObject | Returns the object currently being edited by this builder. |
| SetStock | Sets the value of stock, stock width and stock thickness to the builder. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
BendAngle¶
-
RouteSweptFoldBuilder.BendAngle¶ Returns the bend angle
-------------------------------------Getter Method
Signature
BendAngleReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
BendRadius¶
-
RouteSweptFoldBuilder.BendRadius¶ Returns the bend radius
-------------------------------------Getter Method
Signature
BendRadiusReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
FoldLocation¶
-
RouteSweptFoldBuilder.FoldLocation¶ Returns the fold location
-------------------------------------Getter Method
Signature
FoldLocationReturns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilderNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
FoldRotationAngle¶
-
RouteSweptFoldBuilder.FoldRotationAngle¶ Returns the fold rotation angle
-------------------------------------Getter Method
Signature
FoldRotationAngleReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
FoldStartRotationAngle¶
-
RouteSweptFoldBuilder.FoldStartRotationAngle¶ Returns the fold start rotation angle
-------------------------------------Getter Method
Signature
FoldStartRotationAngleReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
LengthAdjustment¶
-
RouteSweptFoldBuilder.LengthAdjustment¶ Returns the length adjustment
-------------------------------------Getter Method
Signature
LengthAdjustmentReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
ReverseBendAngle¶
-
RouteSweptFoldBuilder.ReverseBendAngle¶ Returns or sets the reverse bend angle
-------------------------------------Getter Method
Signature
ReverseBendAngleReturns: Return type: bool New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
ReverseBendAngleParameters: reverseBendAngle (bool) – New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
ReverseFixedSegment¶
-
RouteSweptFoldBuilder.ReverseFixedSegment¶ Returns or sets the reverse fixed segment
-------------------------------------Getter Method
Signature
ReverseFixedSegmentReturns: Return type: bool New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
ReverseFixedSegmentParameters: reverseFixedSegment (bool) – New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
ReverseFoldRotationAngle¶
-
RouteSweptFoldBuilder.ReverseFoldRotationAngle¶ Returns or sets the reverse fold rotation angle
-------------------------------------Getter Method
Signature
ReverseFoldRotationAngleReturns: Return type: bool New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
ReverseFoldRotationAngleParameters: reverseFoldRotationAngle (bool) – New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Spline¶
-
RouteSweptFoldBuilder.Spline¶ Returns the spline stored in the builder.
-------------------------------------Getter Method
Signature
SplineReturns: Return type: NXOpen.CurveNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
StockSelection¶
-
RouteSweptFoldBuilder.StockSelection¶ Returns the stock selection.
This will be the solid body
-------------------------------------Getter Method
Signature
StockSelectionReturns: Return type: NXOpen.SelectBodyNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Method Detail¶
SetStock¶
-
RouteSweptFoldBuilder.SetStock¶ Sets the value of stock, stock width and stock thickness to the builder.
This will set the stock only if it has rectangular cross section. After setting the stock it will create and set the spline for the builder. It will also set the spline curves for the builder if the stock has more than one segments.
Signature
SetStock(stock)Parameters: stock ( NXOpen.Routing.Stock) – Selected StockNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Validate¶
-
RouteSweptFoldBuilder.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.