SectionViewPreferences Class¶
-
class
NXOpen.Preferences.SectionViewPreferences¶ Bases:
objectRepresents set of Section View Preferences applicable to drafting views.
To obtain an instance of this class use
Preferences.ViewPreferences.Section()New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| AssemblyCrossHatching | Returns or sets the status of assembly cross hatching. |
| Background | Returns or sets the status of background. |
| Bendlines | Returns or sets the status of bendlines |
| CrossHatch | Returns or sets the status of cross hatch. |
| CrosshatchAdjacencyTolarance | Returns or sets the value of crosshatch adjacency tolarance. |
| Foreground | Returns or sets the status of foreground |
| HiddenLineHatching | Returns or sets the status of hidden line hatching. |
| RestrictCrosshatchAngle | Returns or sets the status of restrict crosshatch angle. |
| SectionSheetBodies | Returns or sets the status of section sheet bodies. |
Methods¶
Property Detail¶
AssemblyCrossHatching¶
-
SectionViewPreferences.AssemblyCrossHatching¶ Returns or sets the status of assembly cross hatching.
Controls the crosshatching angle of adjacent solids in an assembly section view. Works when
Preferences.SectionViewPreferences.CrossHatch`()is True.-------------------------------------Getter Method
Signature
AssemblyCrossHatchingReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AssemblyCrossHatchingParameters: assemblyCrossHatching (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
Background¶
-
SectionViewPreferences.Background¶ Returns or sets the status of background.
Suppress or display the background curves for a section view. If True, not only the curves and crosshatching generated by cutting the solid are displayed, but the curves behind the cutting plane are displayed as well. If False, only the curves and crosshatching generated by cutting the solid are displayed in the view.
-------------------------------------Getter Method
Signature
BackgroundReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BackgroundParameters: background (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
Bendlines¶
-
SectionViewPreferences.Bendlines¶ Returns or sets the status of bendlines
-------------------------------------Getter Method
Signature
BendlinesReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BendlinesParameters: bendlines (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
CrossHatch¶
-
SectionViewPreferences.CrossHatch¶ Returns or sets the status of cross hatch.
Allows to control whether or not crosshatching is generated in a given section view. If True, crosshatching is displayed for a section view on the drawing, else crosshatching is not generated for a section view on the drawing, and a performance increase is gained.
-------------------------------------Getter Method
Signature
CrossHatchReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CrossHatchParameters: crossHatch (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
CrosshatchAdjacencyTolarance¶
-
SectionViewPreferences.CrosshatchAdjacencyTolarance¶ Returns or sets the value of crosshatch adjacency tolarance.
Controls the crosshatching angle of adjacent solids in an assembly section view. Works when
Preferences.SectionViewPreferences.AssemblyCrossHatching`()is True.-------------------------------------Getter Method
Signature
CrosshatchAdjacencyTolaranceReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CrosshatchAdjacencyTolaranceParameters: crosshatchAdjacencyTolarance (float) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
Foreground¶
-
SectionViewPreferences.Foreground¶ Returns or sets the status of foreground
-------------------------------------Getter Method
Signature
ForegroundReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ForegroundParameters: foreground (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
RestrictCrosshatchAngle¶
-
SectionViewPreferences.RestrictCrosshatchAngle¶ Returns or sets the status of restrict crosshatch angle.
Restricts the crosshatch angle of adjacent solids in an assembly section view. Works when
Preferences.SectionViewPreferences.AssemblyCrossHatching`()is True.-------------------------------------Getter Method
Signature
RestrictCrosshatchAngleReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RestrictCrosshatchAngleParameters: restrictCrosshatchAngle (bool) – New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
SectionSheetBodies¶
-
SectionViewPreferences.SectionSheetBodies¶ Returns or sets the status of section sheet bodies.
Allows sectioning of sheet bodies in a Section view.
-------------------------------------Getter Method
Signature
SectionSheetBodiesReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SectionSheetBodiesParameters: sectionSheetBodies (bool) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)