ReportPreference Class¶
-
class
NXOpen.Report.
ReportPreference
¶ Bases:
NXOpen.TaggedObject
Manages 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
MaximumRecentReportDocumentCount()
Returns: Maximum recent report document Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaximumRecentReportDocumentCount(maxRecentReportDoc)
Parameters: 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
OpenReportDocumentAfterExport()
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OpenReportDocumentAfterExport(openReportAfterExportSetting)
Parameters: 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
SearchTemplateFromSiteDirectory()
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SearchTemplateFromSiteDirectory(searchTemplateFromSiteDirectorySetting)
Parameters: 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
UsePartDirectoryAsDefaultExportLocation()
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UsePartDirectoryAsDefaultExportLocation(usePartDirAsDefaultExportLocationSetting)
Parameters: 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
ViewImageAfterSnapshotting()
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ViewImageAfterSnapshotting(viewImageAfterSnapshotSetting)
Parameters: viewImageAfterSnapshotSetting (bool) – New in version NX11.0.0.
License requirements: None.