TracelineCollection Class — NXOpen Python API Reference 12.0.0 documentation

# TracelineCollection Class

class `NXOpen.``TracelineCollection`

  Bases: `object`

  Represents a collection of tracelines

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

  New in version NX4.0.0.

# Methods

Method | Description
--- | ---
CreateAutomaticTraceline | Create an automatic traceline

# Method Detail

## CreateAutomaticTraceline

`TracelineCollection.``CreateAutomaticTraceline`

  Create an automatic traceline

  Signature `CreateAutomaticTraceline(explosion, startPoint, startDirection, endPoint, endDirection, orientation, mode, solution, startOffset, endOffset, segmentIndices, segmentLengths)`

  Parameters:

  - explosion (`NXOpen.Assemblies.Explosion`) – Explosion
  - startPoint (`NXOpen.Point`) – Start point
  - startDirection (`NXOpen.Direction`) – Start direction
  - endPoint (`NXOpen.Point`) – End point
  - endDirection (`NXOpen.Direction`) – End direction
  - orientation (`NXOpen.Matrix3x3`) – Orientation
  - mode (`NXOpen.AutomaticTracelineModeOption`) – Mode
  - solution (int) – Solution number
  - startOffset (float) – Start offset
  - endOffset (float) – End offset
  - segmentIndices (list of int) – Segment indices
  - segmentLengths (list of float) – Segment lengths

  Returns: | Created traceline
  Return type: | `NXOpen.AutomaticTraceline`

  New in version NX4.0.0.

  License requirements: assemblies (“ASSEMBLIES MODULE”)