PathStockPreferenceBuilderSpaceReservationMethod Enumeration — NXOpen Python API Reference 12.0.0 documentation

# PathStockPreferenceBuilderSpaceReservationMethod Enumeration

NXOpen.MechanicalRouting.PathStockPreferenceBuilder.SpaceReservationMethod is an alias for NXOpen.MechanicalRouting.PathStockPreferenceBuilderSpaceReservationMethod

class `NXOpen.MechanicalRouting.``PathStockPreferenceBuilderSpaceReservationMethod`

  Bases: `object`

  Determines how to choose which space reservation to assign.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  NotSet | No Stock.
  FromStartObject | Finds a stock based off of the default stock and the object selected by the user.
  Circular | User specified diameter, creates round space reservation stock.
  Rectangular | User specified values, creates rectangular space reservation stock.
  FlatOval | User specified values, creates flat_oval space reservation stock.
  SpecifiedSpaceReservation | sp selected from Specify Item dialog

  `ValueOf`()

    Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

    Signature `ValueOf(value)`

    Parameters: | value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
    Return type: | Enum Member type.

    New in version NX9.0.1.

    License requirements: None.