CutterExport Class — NXOpen Python API Reference 12.0.0 documentation

# CutterExport Class

class `NXOpen.CAM.``CutterExport`

  Bases: `NXOpen.TaggedObject`

  Represents Cutter Export Builder

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
HolderLibref | Returns or sets the libref of the export holder
HolderSaveFlag | Returns or sets the export type
Libref | Returns or sets the libref of the export cutter
SaveFlag | Returns or sets the export type
Tag | Returns the Tag for this object.
TargetClass | Returns or sets the target class for exporting

# Methods

Method | Description
--- | ---
Export | The cutter export entry
ExportHolder | The holder export entry
GetHolderExportStatus | The flag indicate export status of holder
GetTrackpointExportStatus | The flag indicate export status of trackpoint
GetValidAttributes | The valid attributes, target class in the builder needs to be set before this method is called
GetValidTargetClasses | The valid target classes of the cutter
GetValidValuesOfAttribute | The valid values of certain attribute
SetAttributeAndValue | The attributes and values

# Enumerations

CutterExportHolderExportStatus Enumeration | the holder export status
CutterExportSaveFlags Enumeration | the save flag options
CutterExportTrackpointExportStatus Enumeration | the trackpoint export status

# Property Detail

## HolderLibref

`CutterExport.``HolderLibref`

  Returns or sets the libref of the export holder

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

  Getter Method

  Signature `HolderLibref`

  Returns: | The libref
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HolderLibref`

  Parameters: | libref (str) – The libref

  New in version NX9.0.0.

  License requirements: None.

## HolderSaveFlag

`CutterExport.``HolderSaveFlag`

  Returns or sets the export type

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

  Getter Method

  Signature `HolderSaveFlag`

  Returns: | The export type
  Return type: | `NXOpen.CAM.CutterExportSaveFlags`

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HolderSaveFlag`

  Parameters: | saveFlag (`NXOpen.CAM.CutterExportSaveFlags`) – The export type

  New in version NX9.0.0.

  License requirements: None.

## Libref

`CutterExport.``Libref`

  Returns or sets the libref of the export cutter

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

  Getter Method

  Signature `Libref`

  Returns: | The libref
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Libref`

  Parameters: | libref (str) – The libref

  New in version NX9.0.0.

  License requirements: None.

## SaveFlag

`CutterExport.``SaveFlag`

  Returns or sets the export type

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

  Getter Method

  Signature `SaveFlag`

  Returns: | The export type
  Return type: | `NXOpen.CAM.CutterExportSaveFlags`

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SaveFlag`

  Parameters: | saveFlag (`NXOpen.CAM.CutterExportSaveFlags`) – The export type

  New in version NX9.0.0.

  License requirements: None.

## TargetClass

`CutterExport.``TargetClass`

  Returns or sets the target class for exporting

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

  Getter Method

  Signature `TargetClass`

  Returns: | The target class
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `TargetClass`

  Parameters: | targetClass (str) – The target class

  New in version NX9.0.0.

  License requirements: None.

# Method Detail

## Export

`CutterExport.``Export`

  The cutter export entry

  Signature `Export()`

  New in version NX9.0.0.

  License requirements: None.

## ExportHolder

`CutterExport.``ExportHolder`

  The holder export entry

  Signature `ExportHolder()`

  New in version NX9.0.0.

  License requirements: None.

## GetHolderExportStatus

`CutterExport.``GetHolderExportStatus`

  The flag indicate export status of holder

  Signature `GetHolderExportStatus()`

  Returns: | The holder export status
  Return type: | `NXOpen.CAM.CutterExportHolderExportStatus`

  New in version NX9.0.0.

  License requirements: None.

## GetTrackpointExportStatus

`CutterExport.``GetTrackpointExportStatus`

  The flag indicate export status of trackpoint

  Signature `GetTrackpointExportStatus()`

  Returns: | The trackpoint export status
  Return type: | `NXOpen.CAM.CutterExportTrackpointExportStatus`

  New in version NX9.0.0.

  License requirements: None.

## GetValidAttributes

`CutterExport.``GetValidAttributes`

  The valid attributes, target class in the builder needs to be set before this method is called

  Signature `GetValidAttributes(targetClass)`

  Parameters: | targetClass (str) –
  Returns: |
  Return type: | list of str

  New in version NX9.0.0.

  License requirements: None.

## GetValidTargetClasses

`CutterExport.``GetValidTargetClasses`

  The valid target classes of the cutter

  Signature `GetValidTargetClasses(saveFlag, replaceLibref)`

  Parameters:

  - saveFlag (`NXOpen.CAM.CutterExportSaveFlags`) –
  - replaceLibref (str) –

  Returns: |
  Return type: | list of str

  New in version NX9.0.0.

  License requirements: None.

## GetValidValuesOfAttribute

`CutterExport.``GetValidValuesOfAttribute`

  The valid values of certain attribute

  Signature `GetValidValuesOfAttribute(attr)`

  Parameters: | attr (str) –
  Returns: | a tuple
  Return type: | A tuple consisting of (valueIds, valueTexts) valueIds is a list of str. valueTexts is a list of str.

  New in version NX9.0.0.

  License requirements: None.

## SetAttributeAndValue

`CutterExport.``SetAttributeAndValue`

  The attributes and values

  Signature `SetAttributeAndValue(attributes, values)`

  Parameters:

  - attributes (list of str) – The attributes
  - values (list of str) – The values

  New in version NX9.0.0.

  License requirements: None.