PatternSpacingSpacingType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# PatternSpacingSpacingType Enumeration

NXOpen.GeometricUtilities.PatternSpacing.SpacingType is an alias for NXOpen.GeometricUtilities.PatternSpacingSpacingType

class `NXOpen.GeometricUtilities.``PatternSpacingSpacingType`

  Bases: `object`

  defines the type of spacing instances can have within a pattern.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Offset | Specify distance from the origin of one instance to the origin of the next instance.
  Span | Specify a distance for which all instances should occupy.
  PitchAndSpan | Specify distance between instances and distance for all instances, number of copies is calculated.
  Pitch | This is for pattern fill case. Count is calculated based on the pitch and fill boundary box.
  List | Specify offsets with a list.
  PolygonCountPerSide | This is for Polygon type. Specify number of count per side.
  PolygonPitchAlongSide | This is for Polygon type. Specify a pitch distance along one side.

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