RouteSweptFoldBuilder Class¶
-
class
NXOpen.Routing.
RouteSweptFoldBuilder
¶ Bases:
NXOpen.Builder
Represents 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
BendAngle()
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
BendRadius¶
-
RouteSweptFoldBuilder.
BendRadius
¶ Returns the bend radius
-------------------------------------
Getter Method
Signature
BendRadius()
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
FoldLocation¶
-
RouteSweptFoldBuilder.
FoldLocation
¶ Returns the fold location
-------------------------------------
Getter Method
Signature
FoldLocation()
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
FoldRotationAngle¶
-
RouteSweptFoldBuilder.
FoldRotationAngle
¶ Returns the fold rotation angle
-------------------------------------
Getter Method
Signature
FoldRotationAngle()
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
FoldStartRotationAngle¶
-
RouteSweptFoldBuilder.
FoldStartRotationAngle
¶ Returns the fold start rotation angle
-------------------------------------
Getter Method
Signature
FoldStartRotationAngle()
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
LengthAdjustment¶
-
RouteSweptFoldBuilder.
LengthAdjustment
¶ Returns the length adjustment
-------------------------------------
Getter Method
Signature
LengthAdjustment()
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
ReverseBendAngle¶
-
RouteSweptFoldBuilder.
ReverseBendAngle
¶ Returns or sets the reverse bend angle
-------------------------------------
Getter Method
Signature
ReverseBendAngle()
Returns: Return type: bool New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------
Setter Method
Signature
ReverseBendAngle(reverseBendAngle)
Parameters: 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
ReverseFixedSegment()
Returns: Return type: bool New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------
Setter Method
Signature
ReverseFixedSegment(reverseFixedSegment)
Parameters: 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
ReverseFoldRotationAngle()
Returns: Return type: bool New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------
Setter Method
Signature
ReverseFoldRotationAngle(reverseFoldRotationAngle)
Parameters: 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
Spline()
Returns: Return type: NXOpen.Curve
New 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
StockSelection()
Returns: Return type: NXOpen.SelectBody
New 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.