MiteredBendCornerCollection Class — NXOpen Python API Reference 12.0.0 documentation

# MiteredBendCornerCollection Class

class `NXOpen.Routing.``MiteredBendCornerCollection`

  Bases: `object`

  Represents a collection of `NXOpen.Routing.MiteredBendCorner` objects.

  To obtain an instance of this class, refer to `NXOpen.Routing.RouteManager`

  New in version NX9.0.2.

# Methods

Method | Description
--- | ---
CreateCorner | Create a mitered bend corner object at a Control Point.
GetBendAssociatedToSegment | Enquire the Mitered Bend Corner that this segment represents.

# Method Detail

## CreateCorner

`MiteredBendCornerCollection.``CreateCorner`

  Create a mitered bend corner object at a Control Point.

  Signature `CreateCorner(rcp, bendRadius, numberOfMiters)`

  Parameters:

  - rcp (`NXOpen.Routing.ControlPoint`) –
  - bendRadius (float) – Radius of bend corner arc, Must be greater than zero.
  - numberOfMiters (int) –

  Returns: | The new mitered bend corner.
  Return type: | `NXOpen.Routing.MiteredBendCorner`

  New in version NX9.0.2.

  License requirements: routing_base (“Routing Basic”)

## GetBendAssociatedToSegment

`MiteredBendCornerCollection.``GetBendAssociatedToSegment`

  Enquire the Mitered Bend Corner that this segment represents.

  (None can be returned, indicating that this segment does not represent a Bend Corner.)

  Signature `GetBendAssociatedToSegment(segment)`

  Parameters: | segment (`NXOpen.Routing.ISegment`) – Segment being queried for the Bend Corner it represents.
  Returns: | Bend Corner that segment represents

  (None can be returned,indicating that segment does not represent a Bend Corner). :rtype: `NXOpen.Routing.BendCorner`

  New in version NX9.0.2.

  License requirements: routing_base (“Routing Basic”)