BridgeFacetBodyBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# BridgeFacetBodyBuilder Class

class `NXOpen.Facet.``BridgeFacetBodyBuilder`

  Bases: `NXOpen.Builder`

  Represents a `NXOpen.Facet.BridgeFacetBodyBuilder` It bridges two disjoint NX facet bodies.

  User need to specify the range for each input facet body. It returns a new megered NX facet Body. The two input bodies can be kept, deleted or hidden.

  To create a new instance of this class, use `NXOpen.Facet.FacetedBodyCollection.CreateBridgeFacetBodyBuilder()`

  Default values.

  Property | Value
  --- | ---
  InputStatus | Keep
  Smoothness | Linear

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
DistanceTolerance | Returns or sets the distance tolerance used in the bridge facet body feature
FacetBodyOne | Returns the first NX facet body to be bridged
FacetBodyTwo | Returns the second NX facet body to be bridged
InputStatus | Returns or sets the option to specify how to deal with the input two facet bodies: keep, delete or hide
Smoothness | Returns or sets the inserted facet smooth type
Tag | Returns the Tag for this object.
Vertex1Range1 | Returns or sets the first vertex used to define the range on the the first facet body
Vertex1Range2 | Returns or sets the first vertex used to defind the range on the second facet body
Vertex2Range1 | Returns or sets the second vertex used to define the range on the first facet body
Vertex2Range2 | Returns or sets the second vertex used to defind the range on the second facet body

# 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.
FlipRange1 | Flip the range between the first and second vertex on the first facet body
FlipRange2 | Flip the range between the first and second vertex on the second facet body
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.
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

BridgeFacetBodyBuilderInput Enumeration | Represents the option for keeping, deleting or hiding input two facet bodies after builder committing
BridgeFacetBodyBuilderSmoothTypes Enumeration | Represents the smoothness type for the inserted new facets

# Property Detail

## DistanceTolerance

`BridgeFacetBodyBuilder.``DistanceTolerance`

  Returns or sets the distance tolerance used in the bridge facet body feature

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

  Getter Method

  Signature `DistanceTolerance`

  Returns: |
  Return type: | float

  New in version NX9.0.2.

  License requirements: None.

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

  Setter Method

  Signature `DistanceTolerance`

  Parameters: | distanceTolerance (float) –

  New in version NX9.0.2.

  License requirements: None.

## FacetBodyOne

`BridgeFacetBodyBuilder.``FacetBodyOne`

  Returns the first NX facet body to be bridged

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

  Getter Method

  Signature `FacetBodyOne`

  Returns: |
  Return type: | `NXOpen.Facet.SelectFacetedBody`

  New in version NX9.0.0.

  License requirements: None.

## FacetBodyTwo

`BridgeFacetBodyBuilder.``FacetBodyTwo`

  Returns the second NX facet body to be bridged

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

  Getter Method

  Signature `FacetBodyTwo`

  Returns: |
  Return type: | `NXOpen.Facet.SelectFacetedBody`

  New in version NX9.0.0.

  License requirements: None.

## InputStatus

`BridgeFacetBodyBuilder.``InputStatus`

  Returns or sets the option to specify how to deal with the input two facet bodies: keep, delete or hide

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

  Getter Method

  Signature `InputStatus`

  Returns: |
  Return type: | `NXOpen.Facet.BridgeFacetBodyBuilderInput`

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `InputStatus`

  Parameters: | inputStatus (`NXOpen.Facet.BridgeFacetBodyBuilderInput`) –

  New in version NX9.0.0.

  License requirements: None.

## Smoothness

`BridgeFacetBodyBuilder.``Smoothness`

  Returns or sets the inserted facet smooth type

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

  Getter Method

  Signature `Smoothness`

  Returns: |
  Return type: | `NXOpen.Facet.BridgeFacetBodyBuilderSmoothTypes`

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Smoothness`

  Parameters: | smoothType (`NXOpen.Facet.BridgeFacetBodyBuilderSmoothTypes`) –

  New in version NX9.0.0.

  License requirements: None.

## Vertex1Range1

`BridgeFacetBodyBuilder.``Vertex1Range1`

  Returns or sets the first vertex used to define the range on the the first facet body

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

  Getter Method

  Signature `Vertex1Range1`

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

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Vertex1Range1`

  Parameters: | vertex1Range1 (`NXOpen.Point`) –

  New in version NX9.0.0.

  License requirements: None.

## Vertex1Range2

`BridgeFacetBodyBuilder.``Vertex1Range2`

  Returns or sets the first vertex used to defind the range on the second facet body

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

  Getter Method

  Signature `Vertex1Range2`

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

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Vertex1Range2`

  Parameters: | vertex1Range2 (`NXOpen.Point`) –

  New in version NX9.0.0.

  License requirements: None.

## Vertex2Range1

`BridgeFacetBodyBuilder.``Vertex2Range1`

  Returns or sets the second vertex used to define the range on the first facet body

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

  Getter Method

  Signature `Vertex2Range1`

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

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Vertex2Range1`

  Parameters: | vertex2Range1 (`NXOpen.Point`) –

  New in version NX9.0.0.

  License requirements: None.

## Vertex2Range2

`BridgeFacetBodyBuilder.``Vertex2Range2`

  Returns or sets the second vertex used to defind the range on the second facet body

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

  Getter Method

  Signature `Vertex2Range2`

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

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Vertex2Range2`

  Parameters: | vertex2Range2 (`NXOpen.Point`) –

  New in version NX9.0.0.

  License requirements: None.

# Method Detail

## FlipRange1

`BridgeFacetBodyBuilder.``FlipRange1`

  Flip the range between the first and second vertex on the first facet body

  Signature `FlipRange1()`

  New in version NX9.0.0.

  License requirements: None.

## FlipRange2

`BridgeFacetBodyBuilder.``FlipRange2`

  Flip the range between the first and second vertex on the second facet body

  Signature `FlipRange2()`

  New in version NX9.0.0.

  License requirements: None.

## Validate

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