PrebendBuilder Class¶
-
class
NXOpen.Tooling.PrebendBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a
NXOpen.Tooling.PrebendBuilderbuilder to divide bend faces.To create a new instance of this class, use
NXOpen.Features.ToolingCollection.CreatePrebendBuilder()Default values.
Property Value Angle01 30 Angle02 30 Angle03 30 Angle04 30 Angle05 30 NumberBends Two New in version NX10.0.0.
Properties¶
| Property | Description |
|---|---|
| Angle01 | Returns or sets the first prebend angle |
| Angle02 | Returns or sets the second prebend angle |
| Angle03 | Returns or sets the third prebend angle |
| Angle04 | Returns or sets the fourth prebend angle |
| Angle05 | Returns or sets the fifth prebend angle |
| BendFace | Returns the bend face to divide |
| NeutralFactor | Returns or sets the neutral factor assign into the divided bend faces |
| NumberBends | Returns or sets the number of prebends divide into |
| 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 |
| StartEdge | Returns the start edge of bend face to specify the angle01 to angle05 start from |
| 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. |
| 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. |
Enumerations¶
| PrebendBuilderNumberBendsOption Enumeration | The option of bend number to divide into |
Property Detail¶
Angle01¶
-
PrebendBuilder.Angle01¶ Returns or sets the first prebend angle
-------------------------------------Getter Method
Signature
Angle01Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle01Parameters: angle01 (float) – New in version NX10.0.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
Angle02¶
-
PrebendBuilder.Angle02¶ Returns or sets the second prebend angle
-------------------------------------Getter Method
Signature
Angle02Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle02Parameters: angle02 (float) – New in version NX10.0.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
Angle03¶
-
PrebendBuilder.Angle03¶ Returns or sets the third prebend angle
-------------------------------------Getter Method
Signature
Angle03Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle03Parameters: angle03 (float) – New in version NX10.0.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
Angle04¶
-
PrebendBuilder.Angle04¶ Returns or sets the fourth prebend angle
-------------------------------------Getter Method
Signature
Angle04Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle04Parameters: angle04 (float) – New in version NX10.0.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
Angle05¶
-
PrebendBuilder.Angle05¶ Returns or sets the fifth prebend angle
-------------------------------------Getter Method
Signature
Angle05Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
Angle05Parameters: angle05 (float) – New in version NX10.0.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
BendFace¶
-
PrebendBuilder.BendFace¶ Returns the bend face to divide
-------------------------------------Getter Method
Signature
BendFaceReturns: Return type: NXOpen.ScCollectorNew in version NX10.0.0.
License requirements: None.
NeutralFactor¶
-
PrebendBuilder.NeutralFactor¶ Returns or sets the neutral factor assign into the divided bend faces
-------------------------------------Getter Method
Signature
NeutralFactorReturns: Return type: str New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NeutralFactorParameters: neutralFactor (str) – New in version NX10.0.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
NumberBends¶
-
PrebendBuilder.NumberBends¶ Returns or sets the number of prebends divide into
-------------------------------------Getter Method
Signature
NumberBendsReturns: Return type: NXOpen.Tooling.PrebendBuilderNumberBendsOptionNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumberBendsParameters: numberBends ( NXOpen.Tooling.PrebendBuilderNumberBendsOption) –New in version NX10.0.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
StartEdge¶
-
PrebendBuilder.StartEdge¶ Returns the start edge of bend face to specify the angle01 to angle05 start from
-------------------------------------Getter Method
Signature
StartEdgeReturns: Return type: NXOpen.ScCollectorNew in version NX10.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
PrebendBuilder.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.