SaveOptions Class¶
-
class
NXOpen.SaveOptions¶ Bases:
objectContains accessor methods for all part save options that follow the session.
See
NXOpen.PartSaveOptionsfor those part save options that are specific to a particular part. To obtain an instance of this class, refer toNXOpen.PartCollectionNew 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
FamilyDefaultDirectoryReturns: Return type: str New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FamilyDefaultDirectoryParameters: 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
TrueShapeDataReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TrueShapeDataParameters: 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
VisualizationDataReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
VisualizationDataParameters: option (bool) – New in version NX3.0.0.
License requirements: None.