MiterCornerCollection Class — NXOpen Python API Reference 12.0.0 documentation

# MiterCornerCollection Class

class `NXOpen.Routing.``MiterCornerCollection`

  Bases: `object`

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

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

  New in version NX4.0.0.

# Methods

Method | Description
--- | ---
AssignCorner | Assigns a new miter corner to the given control point.
GetMitersAssociatedToStock | Return miter corners referenced by the given `NXOpen.Routing.Stock`.

# Method Detail

## AssignCorner

`MiterCornerCollection.``AssignCorner`

  Assigns a new miter corner to the given control point.

  Signature `AssignCorner(rcp)`

  Parameters: | rcp (`NXOpen.Routing.ControlPoint`) – Route control point to miter.
  Returns: | The newly created Miter Corner
  Return type: | `NXOpen.Routing.MiterCorner`

  New in version NX4.0.0.

  License requirements: routing_advanced (“Routing Advanced”)

## GetMitersAssociatedToStock

`MiterCornerCollection.``GetMitersAssociatedToStock`

  Return miter corners referenced by the given `NXOpen.Routing.Stock`.

  Signature `GetMitersAssociatedToStock(stock)`

  Parameters: | stock (`NXOpen.Routing.Stock`) –
  Returns: |
  Return type: | list of `NXOpen.Routing.MiterCorner`

  New in version NX4.0.0.

  License requirements: routing_advanced (“Routing Advanced”)