SaveOptions Class — NXOpen Python API Reference 12.0.0 documentation

# SaveOptions Class

class `NXOpen.``SaveOptions`

  Bases: `object`

  Contains accessor methods for all part save options that follow the session.

  See `NXOpen.PartSaveOptions` for those part save options that are specific to a particular part. To obtain an instance of this class, refer to `NXOpen.PartCollection`

  New in version NX3.0.0.

# Properties

Property | Description
--- | ---
FamilyDefaultDirectory | Returns or sets the option that specifies the directory in which you want to file part family members.
TrueShapeData | Returns or sets the option indicating whether to generate data for true shape filtering (.ts files)
VisualizationData | Returns or sets the option indicating whether to generate Teamcenter Visualization .jt files when a part is saved

# Methods

# Property Detail

## FamilyDefaultDirectory

`SaveOptions.``FamilyDefaultDirectory`

  Returns or sets the option that specifies the directory in which you want to file part family members.

  Note that setting this property will have no effect while running in NX Manager mode.

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

  Getter Method

  Signature `FamilyDefaultDirectory`

  Returns: |
  Return type: | str

  New in version NX3.0.0.

  License requirements: None.

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

  Setter Method

  Signature `FamilyDefaultDirectory`

  Parameters: | dir (str) –

  New in version NX3.0.0.

  License requirements: None.

## TrueShapeData

`SaveOptions.``TrueShapeData`

  Returns or sets the option indicating whether to generate data for true shape filtering (.ts files)

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

  Getter Method

  Signature `TrueShapeData`

  Returns: |
  Return type: | bool

  New in version NX3.0.0.

  License requirements: None.

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

  Setter Method

  Signature `TrueShapeData`

  Parameters: | option (bool) –

  New in version NX3.0.0.

  License requirements: None.

## VisualizationData

`SaveOptions.``VisualizationData`

  Returns or sets the option indicating whether to generate Teamcenter Visualization .jt files when a part is saved

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

  Getter Method

  Signature `VisualizationData`

  Returns: |
  Return type: | bool

  New in version NX3.0.0.

  License requirements: None.

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

  Setter Method

  Signature `VisualizationData`

  Parameters: | option (bool) –

  New in version NX3.0.0.

  License requirements: None.