InspectionPathPointBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# InspectionPathPointBuilder Class

class `NXOpen.CAM.``InspectionPathPointBuilder`

  Bases: `NXOpen.TaggedObject`

  Represents an inspection path point builder

  New in version NX8.5.0.

# Properties

Property | Description
--- | ---
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Delete | Delete an existing path point
GetPointData | Get the values of an existing path point
ModifyData | Modify an existing path point, name changed if not unique
SetPointData | Create a new path point, name changed if not unique

# Method Detail

## Delete

`InspectionPathPointBuilder.``Delete`

  Delete an existing path point

  Signature `Delete(index)`

  Parameters: | index (int) – the index of the path point to delete

  New in version NX8.5.0.

  License requirements: insp_programming (“INSPECTION PROGRAMMING”)

## GetPointData

`InspectionPathPointBuilder.``GetPointData`

  Get the values of an existing path point

  Signature `GetPointData(index)`

  Parameters: | index (int) – the index of the path point
  Returns: | a tuple
  Return type: | A tuple consisting of (point, angleA, angleB). point is a `NXOpen.NXObject`. the selected point angleA is a float. the A angle angleB is a float. the B angle

  New in version NX8.5.0.

  License requirements: None.

## ModifyData

`InspectionPathPointBuilder.``ModifyData`

  Modify an existing path point, name changed if not unique

  Signature `ModifyData(index, point, angleA, angleB)`

  Parameters:

  - index (int) – the index of the path point to modify
  - point (`NXOpen.NXObject`) – the selected point
  - angleA (float) – the A angle
  - angleB (float) – the B angle

  New in version NX8.5.0.

  License requirements: insp_programming (“INSPECTION PROGRAMMING”)

## SetPointData

`InspectionPathPointBuilder.``SetPointData`

  Create a new path point, name changed if not unique

  Signature `SetPointData(index, point, angleA, angleB)`

  Parameters:

  - index (int) – the index after which the new path point will be added
  - point (`NXOpen.NXObject`) – the new path point
  - angleA (float) – the A angle
  - angleB (float) – the B angle

  New in version NX8.5.0.

  License requirements: insp_programming (“INSPECTION PROGRAMMING”)