TrackingData Class — NXOpen Python API Reference 12.0.0 documentation

# TrackingData Class

class `NXOpen.Features.``TrackingData`

  Bases: `NXOpen.TransientObject`

  Represents tracking information for outputs created by custom feature.

  An instance of this class can be obtained from `NXOpen.Features.CustomFeatureCreateFeatureGeometryEvent.CreateTrackingDataForParasolidEntity()` or `NXOpen.Features.CustomFeatureCreateFeatureGeometryEvent.CreateTrackingDataForNXObject()` or `NXOpen.Features.CustomFeatureModifyFeatureGeometryEvent.CreateTrackingDataForNXObject()`

  New in version NX11.0.0.

# Methods

Method | Description
--- | ---
AddIntSourceEntity | Adds the source entity of integer type for tracked entity
AddTagIntPairSourceEntity | Adds the source entity of NXOpen::Object - integer pair type for tracked entity
AddTagSourceEntities | Adds the source entities of NXOpen::Object’s type for tracked entity
Dispose | Frees the memory associated with this object.
SetIntApplicationKey | Sets the optional application key of integer type for tracked entity
SetNXOpenObjectApplicationKey | Sets the optional application key of NXOpen::Object type for tracked entity

# Method Detail

## AddIntSourceEntity

`TrackingData.``AddIntSourceEntity`

  Adds the source entity of integer type for tracked entity

  Signature `AddIntSourceEntity(sourceEntity)`

  Parameters: | sourceEntity (int) –

  New in version NX11.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## AddTagIntPairSourceEntity

`TrackingData.``AddTagIntPairSourceEntity`

  Adds the source entity of NXOpen::Object - integer pair type for tracked entity

  Signature `AddTagIntPairSourceEntity(tagSourceEntity, intSourceEntity)`

  Parameters:

  - tagSourceEntity (`NXOpen.NXObject`) –
  - intSourceEntity (int) –

  New in version NX11.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## AddTagSourceEntities

`TrackingData.``AddTagSourceEntities`

  Adds the source entities of NXOpen::Object’s type for tracked entity

  Signature `AddTagSourceEntities(sourceEntities)`

  Parameters: | sourceEntities (list of `NXOpen.NXObject`) –

  New in version NX11.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## Dispose

`TrackingData.``Dispose`

  Frees the memory associated with this object.

  After invocation of this method, the object is no longer valid.

  Signature `Dispose()`

  New in version NX11.0.0.

  License requirements: None.

## SetIntApplicationKey

`TrackingData.``SetIntApplicationKey`

  Sets the optional application key of integer type for tracked entity

  Signature `SetIntApplicationKey(applicationKey)`

  Parameters: | applicationKey (int) –

  New in version NX11.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

## SetNXOpenObjectApplicationKey

`TrackingData.``SetNXOpenObjectApplicationKey`

  Sets the optional application key of NXOpen::Object type for tracked entity

  Signature `SetNXOpenObjectApplicationKey(applicationKey)`

  Parameters: | applicationKey (`NXOpen.NXObject`) –

  New in version NX11.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)