CornerTypeBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# CornerTypeBuilder Class

class `NXOpen.Routing.``CornerTypeBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Contains setting for corner creation.

  Type of bend to be created and the method to create the corner.

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
RouteCornerBendMethods | Returns or sets the route corner bend options
RouteCornerBendOptions | Returns or sets the route corner bend options
RouteCornerBendTable | Returns or sets the name of bend radius table
RouteCornerNumberOfMiters | Returns or sets the number of miter in mitered bend corner
RouteCornerRadius | Returns the route corner radius
RouteCornerRatioToDiameter | Returns the route corner ratio to diameter
RouteCornerRequireLinearSolution | Returns or sets the route corner require linear solution
RouteCornerTypeOptions | Returns or sets the route corner type options
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
GetElbowAppliedCharx | Returns the applied charx of elbow part
GetElbowPart | Returns the created elbow part
ImportBendRadiusTable | Imports bend radius table
RouteCornerAlternateSolution | Route alternate solution
RouteCornerBendRadiusInfo | Bend corner info
RouteCornerImportBendRadiusTable | Import bend radius table
RouteCornerSpecifyElbow | Route specify elbow
SetElbowAppliedCharx | Sets the applied charx for elbow creation
SetElbowPart | Sets the elbow part to be used for elbow creation
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

CornerTypeBuilderBendMethods Enumeration | Methods available for bend creation.
CornerTypeBuilderBendOptions Enumeration | Methods available for bend creation.
CornerTypeBuilderType Enumeration | Defines the type of bend available for bend creation.

# Property Detail

## RouteCornerBendMethods

`CornerTypeBuilder.``RouteCornerBendMethods`

  Returns or sets the route corner bend options

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

  Getter Method

  Signature `RouteCornerBendMethods`

  Returns: |
  Return type: | `NXOpen.Routing.CornerTypeBuilderBendMethods`

  New in version NX8.5.0.

  License requirements: routing_base (“Routing Basic”)

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

  Setter Method

  Signature `RouteCornerBendMethods`

  Parameters: | routeCornerBendMethods (`NXOpen.Routing.CornerTypeBuilderBendMethods`) –

  New in version NX8.5.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerBendOptions

`CornerTypeBuilder.``RouteCornerBendOptions`

  Returns or sets the route corner bend options

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

  Getter Method

  Signature `RouteCornerBendOptions`

  Returns: |
  Return type: | `NXOpen.Routing.CornerTypeBuilderBendOptions`

  New in version NX6.0.0.

  Deprecated since version NX8.5.0: Use `NXOpen.Routing.CornerTypeBuilder.RouteCornerBendMethods()` instead.

  License requirements: routing_base (“Routing Basic”)

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

  Setter Method

  Signature `RouteCornerBendOptions`

  Parameters: | routeCornerBendOptions (`NXOpen.Routing.CornerTypeBuilderBendOptions`) –

  New in version NX6.0.0.

  Deprecated since version NX8.5.0: Use `NXOpen.Routing.CornerTypeBuilder.RouteCornerBendMethods()` instead.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerBendTable

`CornerTypeBuilder.``RouteCornerBendTable`

  Returns or sets the name of bend radius table

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

  Getter Method

  Signature `RouteCornerBendTable`

  Returns: |
  Return type: | str

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

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

  Setter Method

  Signature `RouteCornerBendTable`

  Parameters: | bendTableName (str) –

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerNumberOfMiters

`CornerTypeBuilder.``RouteCornerNumberOfMiters`

  Returns or sets the number of miter in mitered bend corner

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

  Getter Method

  Signature `RouteCornerNumberOfMiters`

  Returns: |
  Return type: | int

  New in version NX8.0.0.

  License requirements: routing_base (“Routing Basic”)

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

  Setter Method

  Signature `RouteCornerNumberOfMiters`

  Parameters: | routeCornerNumberOfMiter (int) –

  New in version NX8.0.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerRadius

`CornerTypeBuilder.``RouteCornerRadius`

  Returns the route corner radius

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

  Getter Method

  Signature `RouteCornerRadius`

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

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerRatioToDiameter

`CornerTypeBuilder.``RouteCornerRatioToDiameter`

  Returns the route corner ratio to diameter

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

  Getter Method

  Signature `RouteCornerRatioToDiameter`

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

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerRequireLinearSolution

`CornerTypeBuilder.``RouteCornerRequireLinearSolution`

  Returns or sets the route corner require linear solution

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

  Getter Method

  Signature `RouteCornerRequireLinearSolution`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

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

  Setter Method

  Signature `RouteCornerRequireLinearSolution`

  Parameters: | routeCornerRequireLinearSolution (bool) –

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerTypeOptions

`CornerTypeBuilder.``RouteCornerTypeOptions`

  Returns or sets the route corner type options

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

  Getter Method

  Signature `RouteCornerTypeOptions`

  Returns: |
  Return type: | `NXOpen.Routing.CornerTypeBuilderType`

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

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

  Setter Method

  Signature `RouteCornerTypeOptions`

  Parameters: | routeCornerTypeOptions (`NXOpen.Routing.CornerTypeBuilderType`) –

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

# Method Detail

## GetElbowAppliedCharx

`CornerTypeBuilder.``GetElbowAppliedCharx`

  Returns the applied charx of elbow part

  Signature `GetElbowAppliedCharx()`

  Returns: | Characteristic list used to find the appropriate
  Return type: | `NXOpen.Routing.CharacteristicList`

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## GetElbowPart

`CornerTypeBuilder.``GetElbowPart`

  Returns the created elbow part

  Signature `GetElbowPart()`

  Returns: | Characteristic list used to find the appropriate
  Return type: | `NXOpen.Routing.CharacteristicList`

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## ImportBendRadiusTable

`CornerTypeBuilder.``ImportBendRadiusTable`

  Imports bend radius table

  Signature `ImportBendRadiusTable(bendTableFilename)`

  Parameters: | bendTableFilename (str) –

  New in version NX9.0.2.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerAlternateSolution

`CornerTypeBuilder.``RouteCornerAlternateSolution`

  Route alternate solution

  Signature `RouteCornerAlternateSolution()`

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerBendRadiusInfo

`CornerTypeBuilder.``RouteCornerBendRadiusInfo`

  Bend corner info

  Signature `RouteCornerBendRadiusInfo()`

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerImportBendRadiusTable

`CornerTypeBuilder.``RouteCornerImportBendRadiusTable`

  Import bend radius table

  Signature `RouteCornerImportBendRadiusTable()`

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## RouteCornerSpecifyElbow

`CornerTypeBuilder.``RouteCornerSpecifyElbow`

  Route specify elbow

  Signature `RouteCornerSpecifyElbow()`

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## SetElbowAppliedCharx

`CornerTypeBuilder.``SetElbowAppliedCharx`

  Sets the applied charx for elbow creation

  Signature `SetElbowAppliedCharx(elbowPart)`

  Parameters: | elbowPart (`NXOpen.Routing.CharacteristicList`) – Characteristic list used to find the appropriate

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## SetElbowPart

`CornerTypeBuilder.``SetElbowPart`

  Sets the elbow part to be used for elbow creation

  Signature `SetElbowPart(elbowPart)`

  Parameters: | elbowPart (`NXOpen.Routing.CharacteristicList`) – Characteristic list used to find the appropriate

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

## Validate

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