EdgePrepValuesBuilder Class¶
-
class
NXOpen.Weld.
EdgePrepValuesBuilder
¶ Bases:
NXOpen.Builder
Used to view or edit the values used to define the welding joint and edge preparation.
This sub feature is created via the main feature builder.
Default values.
Property Value JointExitBuilder.NumberSegments 2 JointExitBuilder.RootOpening 0 JointExitBuilder.SplitAngle 5.0 RootOpening 0 New in version NX8.0.0.
Properties¶
Property | Description |
---|---|
Joint | Returns the welding joint curves. |
JointExitBuilder | Returns the NXOpen.Weld.JointExitBuilder . |
RootOpening | Returns or sets the root opening |
Tag | Returns the Tag for this object. |
ValueSegment | Returns the selected segment. |
ValuesApplyOption | Returns or sets the apply values option which indicates whether the all the values of each selected joint should be updated or just the values that were changed in the NXOpen.Weld.JointExitBuilder . |
ValuesOption | Returns or sets the values option which indicates whether the entered or computed values should be used. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
DeleteExitBuilder | Deletes the NXOpen.Weld.JointExitBuilder . |
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. |
GetSegmentFromIndex | Creates the path to be used for the limits. |
ReadEdgePrepValues | Reads the edge prep values from the feature. |
ReadEdgePrepValuesFromCurve | Reads the edge prep values from joint curve. |
RecreateCurves | Recreates the curves after changes to edge prep values. |
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. |
Enumerations¶
EdgePrepValuesBuilderApply Enumeration | Option to indicate how the values are to be updated. |
EdgePrepValuesBuilderOption Enumeration | Option to indicate how the values are to be used. |
Property Detail¶
Joint¶
-
EdgePrepValuesBuilder.
Joint
¶ Returns the welding joint curves.
-------------------------------------
Getter Method
Signature
Joint()
Returns: Return type: NXOpen.SelectCurveList
New in version NX8.5.0.
License requirements: None.
JointExitBuilder¶
-
EdgePrepValuesBuilder.
JointExitBuilder
¶ Returns the
NXOpen.Weld.JointExitBuilder
.-------------------------------------
Getter Method
Signature
JointExitBuilder()
Returns: Return type: NXOpen.Weld.JointExitBuilder
New in version NX8.0.0.
License requirements: structure_weld (“STRUCTURE WELD”)
RootOpening¶
-
EdgePrepValuesBuilder.
RootOpening
¶ Returns or sets the root opening
-------------------------------------
Getter Method
Signature
RootOpening()
Returns: Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RootOpening(rootOpening)
Parameters: rootOpening (float) – New in version NX8.0.0.
License requirements: structure_weld (“STRUCTURE WELD”)
ValueSegment¶
-
EdgePrepValuesBuilder.
ValueSegment
¶ Returns the selected segment.
-------------------------------------
Getter Method
Signature
ValueSegment()
Returns: Return type: NXOpen.SelectCurve
New in version NX8.0.0.
License requirements: None.
ValuesApplyOption¶
-
EdgePrepValuesBuilder.
ValuesApplyOption
¶ Returns or sets the apply values option which indicates whether the all the values of each selected joint should be updated or just the values that were changed in the
NXOpen.Weld.JointExitBuilder
.-------------------------------------
Getter Method
Signature
ValuesApplyOption()
Returns: Return type: NXOpen.Weld.EdgePrepValuesBuilderApply
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ValuesApplyOption(option)
Parameters: option ( NXOpen.Weld.EdgePrepValuesBuilderApply
) –New in version NX8.5.0.
License requirements: structure_weld (“STRUCTURE WELD”)
ValuesOption¶
-
EdgePrepValuesBuilder.
ValuesOption
¶ Returns or sets the values option which indicates whether the entered or computed values should be used.
-------------------------------------
Getter Method
Signature
ValuesOption()
Returns: Return type: NXOpen.Weld.EdgePrepValuesBuilderOption
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ValuesOption(option)
Parameters: option ( NXOpen.Weld.EdgePrepValuesBuilderOption
) –New in version NX8.0.0.
License requirements: structure_weld (“STRUCTURE WELD”)
Method Detail¶
DeleteExitBuilder¶
-
EdgePrepValuesBuilder.
DeleteExitBuilder
¶ Deletes the
NXOpen.Weld.JointExitBuilder
.Signature
DeleteExitBuilder()
New in version NX9.0.0.
License requirements: structure_weld (“STRUCTURE WELD”)
GetSegmentFromIndex¶
-
EdgePrepValuesBuilder.
GetSegmentFromIndex
¶ Creates the path to be used for the limits.
Signature
GetSegmentFromIndex(value)
Parameters: value (int) – index of curve. Returns: Segment. Return type: NXOpen.Curve
New in version NX8.0.0.
License requirements: None.
ReadEdgePrepValues¶
-
EdgePrepValuesBuilder.
ReadEdgePrepValues
¶ Reads the edge prep values from the feature.
Signature
ReadEdgePrepValues(feature)
Parameters: feature ( NXOpen.Features.Feature
) – Welding Joint featureNew in version NX8.5.0.
License requirements: structure_weld (“STRUCTURE WELD”)
ReadEdgePrepValuesFromCurve¶
-
EdgePrepValuesBuilder.
ReadEdgePrepValuesFromCurve
¶ Reads the edge prep values from joint curve.
Signature
ReadEdgePrepValuesFromCurve(curve)
Parameters: curve ( NXOpen.Curve
) – Welding Joint curveNew in version NX8.5.0.
License requirements: structure_weld (“STRUCTURE WELD”)
RecreateCurves¶
-
EdgePrepValuesBuilder.
RecreateCurves
¶ Recreates the curves after changes to edge prep values.
Signature
RecreateCurves()
New in version NX8.0.0.
License requirements: structure_weld (“STRUCTURE WELD”)
Validate¶
-
EdgePrepValuesBuilder.
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.