ReportPreference Class¶
-
class
NXOpen.Report.ReportPreference¶ Bases:
NXOpen.TaggedObjectManages the preference data.
Not support KF.
New in version NX11.0.0.
Properties¶
| Property | Description |
|---|---|
| MaximumRecentReportDocumentCount | Returns or sets the maximum count of the recent report documents which could be viewed |
| OpenReportDocumentAfterExport | Returns or sets the option indicates whether to open report document after exporting report |
| SearchTemplateFromSiteDirectory | Returns or sets the option indicates whether to use site template directory as start to choose a report template file |
| Tag | Returns the Tag for this object. |
| UsePartDirectoryAsDefaultExportLocation | Returns or sets the option indicates whehter to use part direcotry as default report document location |
| ViewImageAfterSnapshotting | Returns or sets the option indicates whether to view image after snopshotting |
Methods¶
| Method | Description |
|---|---|
| SaveMemoryFile | Saves preference settings to memory file |
Property Detail¶
MaximumRecentReportDocumentCount¶
-
ReportPreference.MaximumRecentReportDocumentCount¶ Returns or sets the maximum count of the recent report documents which could be viewed
-------------------------------------Getter Method
Signature
MaximumRecentReportDocumentCountReturns: Maximum recent report document Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaximumRecentReportDocumentCountParameters: maxRecentReportDoc (int) – Maximum recent report document New in version NX11.0.0.
License requirements: None.
OpenReportDocumentAfterExport¶
-
ReportPreference.OpenReportDocumentAfterExport¶ Returns or sets the option indicates whether to open report document after exporting report
-------------------------------------Getter Method
Signature
OpenReportDocumentAfterExportReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OpenReportDocumentAfterExportParameters: openReportAfterExportSetting (bool) – New in version NX11.0.0.
License requirements: None.
SearchTemplateFromSiteDirectory¶
-
ReportPreference.SearchTemplateFromSiteDirectory¶ Returns or sets the option indicates whether to use site template directory as start to choose a report template file
-------------------------------------Getter Method
Signature
SearchTemplateFromSiteDirectoryReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SearchTemplateFromSiteDirectoryParameters: searchTemplateFromSiteDirectorySetting (bool) – New in version NX11.0.0.
License requirements: None.
UsePartDirectoryAsDefaultExportLocation¶
-
ReportPreference.UsePartDirectoryAsDefaultExportLocation¶ Returns or sets the option indicates whehter to use part direcotry as default report document location
-------------------------------------Getter Method
Signature
UsePartDirectoryAsDefaultExportLocationReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UsePartDirectoryAsDefaultExportLocationParameters: usePartDirAsDefaultExportLocationSetting (bool) – New in version NX11.0.0.
License requirements: None.
ViewImageAfterSnapshotting¶
-
ReportPreference.ViewImageAfterSnapshotting¶ Returns or sets the option indicates whether to view image after snopshotting
-------------------------------------Getter Method
Signature
ViewImageAfterSnapshottingReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ViewImageAfterSnapshottingParameters: viewImageAfterSnapshotSetting (bool) – New in version NX11.0.0.
License requirements: None.