TrimAndExtendBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# TrimAndExtendBuilder Class

class `NXOpen.Features.``TrimAndExtendBuilder`

  Bases: `NXOpen.Features.FeatureBuilder`

  Represents a `NXOpen.Features.TrimAndExtend` builder

  To create a new instance of this class, use `NXOpen.Features.TrimFeatureCollection.CreateTrimAndExtendBuilder()`

  Default values.

  Property | Value
  --- | ---
  ArrowSideOption | Retain
  BodyOutputOption | ExtendOriginalSheet
  CombineOption | true
  CopyOriginalOption | false
  Operation | UntilSelected
  SurfaceShapeOption | NaturalCurvature

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
ArrowSideOption | Returns or sets the trim extend desired result type
BodyOutputOption | Returns or sets the body output type
CombineOption | Returns or sets the combine option determines if two bodies that make a corner are combined into one body.
CopyOriginalOption | Returns or sets the copy original logical determines if the original body is modified or if a copy of the original is modified.
DistanceTolerance | Returns or sets the distance tolerance
Operation | Returns or sets the trim extend type
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
ReverseTarget | Returns or sets the target reverse side flag
ReverseTool | Returns or sets the tool reverse side flag
SurfaceShapeOption | Returns or sets the extension method
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename
Tag | Returns the Tag for this object.
TargetSelection | Returns the target collector which contains either edge or face
ToolSelection | Returns the tool collector which contains either edges or faces

# 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

TrimAndExtendBuilderArrowSideType Enumeration | Trim or Extend Arrow Side Results type.
TrimAndExtendBuilderOperationType Enumeration | Trim or Extend operation type.

# Property Detail

## ArrowSideOption

`TrimAndExtendBuilder.``ArrowSideOption`

  Returns or sets the trim extend desired result type

  `-------------------------------------`

  Getter Method

  Signature `ArrowSideOption`

  Returns: |
  Return type: | `NXOpen.Features.TrimAndExtendBuilderArrowSideType`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ArrowSideOption`

  Parameters: | arrowSideType (`NXOpen.Features.TrimAndExtendBuilderArrowSideType`) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## BodyOutputOption

`TrimAndExtendBuilder.``BodyOutputOption`

  Returns or sets the body output type

  `-------------------------------------`

  Getter Method

  Signature `BodyOutputOption`

  Returns: |
  Return type: | `NXOpen.Features.ExtendSheetBuilderBodyOutput`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `BodyOutputOption`

  Parameters: | bodyOutputOption (`NXOpen.Features.ExtendSheetBuilderBodyOutput`) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## CombineOption

`TrimAndExtendBuilder.``CombineOption`

  Returns or sets the combine option determines if two bodies that make a corner are combined into one body.

  Applicable only for TrimExtendType of MakeCorner.

  `-------------------------------------`

  Getter Method

  Signature `CombineOption`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `CombineOption`

  Parameters: | combine (bool) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## CopyOriginalOption

`TrimAndExtendBuilder.``CopyOriginalOption`

  Returns or sets the copy original logical determines if the original body is modified or if a copy of the original is modified.

  `-------------------------------------`

  Getter Method

  Signature `CopyOriginalOption`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `CopyOriginalOption`

  Parameters: | copyOriginal (bool) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## DistanceTolerance

`TrimAndExtendBuilder.``DistanceTolerance`

  Returns or sets the distance tolerance

  `-------------------------------------`

  Getter Method

  Signature `DistanceTolerance`

  Returns: |
  Return type: | float

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DistanceTolerance`

  Parameters: | tolerance (float) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## Operation

`TrimAndExtendBuilder.``Operation`

  Returns or sets the trim extend type

  `-------------------------------------`

  Getter Method

  Signature `Operation`

  Returns: |
  Return type: | `NXOpen.Features.TrimAndExtendBuilderOperationType`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Operation`

  Parameters: | operation (`NXOpen.Features.TrimAndExtendBuilderOperationType`) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## ReverseTarget

`TrimAndExtendBuilder.``ReverseTarget`

  Returns or sets the target reverse side flag

  `-------------------------------------`

  Getter Method

  Signature `ReverseTarget`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReverseTarget`

  Parameters: | reverseTarget (bool) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## ReverseTool

`TrimAndExtendBuilder.``ReverseTool`

  Returns or sets the tool reverse side flag

  `-------------------------------------`

  Getter Method

  Signature `ReverseTool`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReverseTool`

  Parameters: | reverseTool (bool) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## SurfaceShapeOption

`TrimAndExtendBuilder.``SurfaceShapeOption`

  Returns or sets the extension method

  `-------------------------------------`

  Getter Method

  Signature `SurfaceShapeOption`

  Returns: |
  Return type: | `NXOpen.Features.ExtendSheetBuilderSurfaceShape`

  New in version NX9.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `SurfaceShapeOption`

  Parameters: | surfaceShapeOption (`NXOpen.Features.ExtendSheetBuilderSurfaceShape`) –

  New in version NX9.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## TargetSelection

`TrimAndExtendBuilder.``TargetSelection`

  Returns the target collector which contains either edge or face

  `-------------------------------------`

  Getter Method

  Signature `TargetSelection`

  Returns: |
  Return type: | `NXOpen.ScCollector`

  New in version NX9.0.0.

  License requirements: None.

## ToolSelection

`TrimAndExtendBuilder.``ToolSelection`

  Returns the tool collector which contains either edges or faces

  `-------------------------------------`

  Getter Method

  Signature `ToolSelection`

  Returns: |
  Return type: | `NXOpen.ScCollector`

  New in version NX9.0.0.

  License requirements: None.

# Method Detail

## Validate

`TrimAndExtendBuilder.``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.