TrimExtendBuilder Class¶
-
class
NXOpen.Features.TrimExtendBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a
NXOpen.Features.TrimExtendbuilder.Inputs to this class can be convergent objects.
To create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateTrimExtendBuilder()Default values.
Property Value ExtendNewFace False TargetExtendDistance.Value 25 (millimeters part), 1 (inches part) ToolExtendDistance.Value 10 New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| ArrowSideOption | Returns or sets the trim and extend arrow side option to specify to retain or discard material in trim operations when Limits are set to Until Selected |
| ExtendNewFace | Returns or sets the extend new face to keep the original edges on the target or tool geometry |
| ExtensionMethod | Returns or sets the trim extend extension method to specify the continuity of an extend operation |
| 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 |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| TargetCollector | Returns the target collector tool selection to specify the target for a trim or extend operation |
| TargetExtendDistance | Returns the target extend distance |
| TargetReversed | Returns or sets the target material side direction , targetReversed = true, means target direction is reversed |
| Tolerance | Returns or sets the distance tolerance |
| ToolCollector | Returns the tool collector tool selection to specify the tool for a trim or extend operation |
| ToolExtendDistance | Returns the tool extend distance |
| ToolReversed | Returns or sets the target material side direction , toolReversed = true, means tool direction is reversed |
| Type | Returns or sets the trim extend creation option |
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¶
| TrimExtendBuilderArrowSideOptions Enumeration | This enum represents the TrimExtend Arrow Side Options |
| TrimExtendBuilderCreationTypes Enumeration | This enum represents the TrimExtend types |
| TrimExtendBuilderExtensionMethods Enumeration | This enum represents the TrimExtend Extension Methods |
Property Detail¶
ArrowSideOption¶
-
TrimExtendBuilder.ArrowSideOption¶ Returns or sets the trim and extend arrow side option to specify to retain or discard material in trim operations when Limits are set to Until Selected
-------------------------------------Getter Method
Signature
ArrowSideOptionReturns: Return type: NXOpen.Features.TrimExtendBuilderArrowSideOptionsNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ArrowSideOptionParameters: arrowSideOption ( NXOpen.Features.TrimExtendBuilderArrowSideOptions) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
ExtendNewFace¶
-
TrimExtendBuilder.ExtendNewFace¶ Returns or sets the extend new face to keep the original edges on the target or tool geometry
-------------------------------------Getter Method
Signature
ExtendNewFaceReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtendNewFaceParameters: extendNewFace (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
ExtensionMethod¶
-
TrimExtendBuilder.ExtensionMethod¶ Returns or sets the trim extend extension method to specify the continuity of an extend operation
-------------------------------------Getter Method
Signature
ExtensionMethodReturns: Return type: NXOpen.Features.TrimExtendBuilderExtensionMethodsNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtensionMethodParameters: extensionMethod ( NXOpen.Features.TrimExtendBuilderExtensionMethods) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
TargetCollector¶
-
TrimExtendBuilder.TargetCollector¶ Returns the target collector tool selection to specify the target for a trim or extend operation
-------------------------------------Getter Method
Signature
TargetCollectorReturns: Return type: NXOpen.ScCollectorNew in version NX5.0.0.
License requirements: None.
TargetExtendDistance¶
-
TrimExtendBuilder.TargetExtendDistance¶ Returns the target extend distance
-------------------------------------Getter Method
Signature
TargetExtendDistanceReturns: Return type: NXOpen.ExpressionNew in version NX5.0.0.
License requirements: None.
TargetReversed¶
-
TrimExtendBuilder.TargetReversed¶ Returns or sets the target material side direction , targetReversed = true, means target direction is reversed
-------------------------------------Getter Method
Signature
TargetReversedReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TargetReversedParameters: targetReversed (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
Tolerance¶
-
TrimExtendBuilder.Tolerance¶ Returns or sets the distance tolerance
-------------------------------------Getter Method
Signature
ToleranceReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceParameters: tolerance (float) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
ToolCollector¶
-
TrimExtendBuilder.ToolCollector¶ Returns the tool collector tool selection to specify the tool for a trim or extend operation
-------------------------------------Getter Method
Signature
ToolCollectorReturns: Return type: NXOpen.ScCollectorNew in version NX5.0.0.
License requirements: None.
ToolExtendDistance¶
-
TrimExtendBuilder.ToolExtendDistance¶ Returns the tool extend distance
-------------------------------------Getter Method
Signature
ToolExtendDistanceReturns: Return type: NXOpen.ExpressionNew in version NX5.0.0.
License requirements: None.
ToolReversed¶
-
TrimExtendBuilder.ToolReversed¶ Returns or sets the target material side direction , toolReversed = true, means tool direction is reversed
-------------------------------------Getter Method
Signature
ToolReversedReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToolReversedParameters: toolReversed (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
Type¶
-
TrimExtendBuilder.Type¶ Returns or sets the trim extend creation option
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.Features.TrimExtendBuilderCreationTypesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: type ( NXOpen.Features.TrimExtendBuilderCreationTypes) –New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)
Method Detail¶
Validate¶
-
TrimExtendBuilder.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.