TrackingBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# TrackingBuilder Class

class `NXOpen.CAM.``TrackingBuilder`

  Bases: `NXOpen.TaggedObject`

  Represents a Tracking Builder

  New in version NX5.0.0.

# Properties

Property | Description
--- | ---
NumberOfTrackPoints | Returns the number of trackpoints
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Create | Create a new trackpoint, values of name,xOffset and yOffset may will be changed
Delete | Delete an existing trackpoint
Get | Get the values of an existing trackpoint
GetTrackPoint | Get a specific trackpoint
Modify | Modify an existing trackpoint

# Property Detail

## NumberOfTrackPoints

`TrackingBuilder.``NumberOfTrackPoints`

  Returns the number of trackpoints

  `-------------------------------------`

  Getter Method

  Signature `NumberOfTrackPoints`

  Returns: | The number of points
  Return type: | int

  New in version NX5.0.0.

  License requirements: cam_base (“CAM BASE”)

# Method Detail

## Create

`TrackingBuilder.``Create`

  Create a new trackpoint, values of name,xOffset and yOffset may will be changed

  Signature `Create(name, radiusId, tpNumber, angle, radius, xOffset, yOffset, adjustReg, cutcomReg)`

  Parameters:

  - name (str) – the name
  - radiusId (int) – the radius ID
  - tpNumber (int) – the track point number
  - angle (float) – the angle
  - radius (float) – the radius
  - xOffset (float) – the xoffset
  - yOffset (float) – the yoffset
  - adjustReg (int) – the adjust register
  - cutcomReg (int) – the cutcom register

  Returns: | return new created item pointer
  Return type: | `NXOpen.NXObject`

  New in version NX5.0.0.

  License requirements: cam_base (“CAM BASE”)

## Delete

`TrackingBuilder.``Delete`

  Delete an existing trackpoint

  Signature `Delete(pointTag)`

  Parameters: | pointTag (`NXOpen.NXObject`) – the pointer of deleted track point

  New in version NX5.0.0.

  License requirements: cam_base (“CAM BASE”)

## Get

`TrackingBuilder.``Get`

  Get the values of an existing trackpoint

  Signature `Get(pointTag)`

  Parameters: | pointTag (`NXOpen.NXObject`) – the track point
  Returns: | a tuple
  Return type: | A tuple consisting of (name, radiusId, tpNumber, angle, radius, xOffset, yOffset, adjustReg, cutcomReg) name is a str. the name radiusId is a int. the radius ID tpNumber is a int. the track point number angle is a float. the angle radius is a float. the radius xOffset is a float. the xoffset yOffset is a float. the yoffset adjustReg is a int. the adjust register cutcomReg is a int. the cutcom register

  New in version NX5.0.0.

  License requirements: cam_base (“CAM BASE”)

## GetTrackPoint

`TrackingBuilder.``GetTrackPoint`

  Get a specific trackpoint

  Signature `GetTrackPoint(position)`

  Parameters: | position (int) – the position of track point
  Returns: | the track point
  Return type: | `NXOpen.NXObject`

  New in version NX5.0.0.

  License requirements: cam_base (“CAM BASE”)

## Modify

`TrackingBuilder.``Modify`

  Modify an existing trackpoint

  Signature `Modify(pointTag, name, radiusId, tpNumber, angle, radius, xOffset, yOffset, adjustReg, cutcomReg)`

  Parameters:

  - pointTag (`NXOpen.NXObject`) – the pointer of modified track point
  - name (str) – the name
  - radiusId (int) – the radius ID
  - tpNumber (int) – the track point number
  - angle (float) – the angle
  - radius (float) – the radius
  - xOffset (float) – the xoffset
  - yOffset (float) – the yoffset
  - adjustReg (int) – the adjust register
  - cutcomReg (int) – the cutcom register

  New in version NX5.0.0.

  License requirements: cam_base (“CAM BASE”)