ViewStyleSectionBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# ViewStyleSectionBuilder Class

class `NXOpen.Drawings.``ViewStyleSectionBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents the SECTION tab on the View Style Dialog (Drawings.

  ViewStyleSectionBuilder)

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
AdjacencyToleranceData | Returns or sets the adjacency tolerance on the SECTION tab of the View Style Dialog
AssemblyTolerance | Returns or sets the assembly tolerance toggle on the SECTION tab of the View Style Dialog
Background | Returns or sets the background toggle on the SECTION tab of the View Style Dialog
Bendlines | Returns or sets the bendlines toggle on the SECTION tab of the View Style Dialog
Crosshatch | Returns or sets the crosshatch toggle on the SECTION tab of the View Style Dialog
DisplaySectionLine | Returns or sets the display section line toggle on the SECTION tab of the View Style Dialog
Foreground | Returns or sets the foreground toggle on the SECTION tab of the View Style Dialog
HiddenLineHatching | Returns or sets the hidden line hatching toggle on the SECTION tab of the View Style Dialog
RestrictCrosshatchAngle | Returns or sets the restrict crosshatch angle toggle on the SECTION tab of the View Style Dialog
SheetBodies | Returns or sets the sheet bodies toggle on the SECTION tab of the View Style Dialog
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Property Detail

## AdjacencyToleranceData

`ViewStyleSectionBuilder.``AdjacencyToleranceData`

  Returns or sets the adjacency tolerance on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `AdjacencyToleranceData`

  Returns: | Returns the assembly tolerance that is on the section sub-builder
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `AdjacencyToleranceData`

  Parameters: | adjacencyToleranceData (float) – Sets a new assembly tolerance on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## AssemblyTolerance

`ViewStyleSectionBuilder.``AssemblyTolerance`

  Returns or sets the assembly tolerance toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `AssemblyTolerance`

  Returns: | Returns the assembly tolerance toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `AssemblyTolerance`

  Parameters: | assemblyToleranceToggle (bool) – Sets a new assembly tolerance toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## Background

`ViewStyleSectionBuilder.``Background`

  Returns or sets the background toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `Background`

  Returns: | Returns the background toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Background`

  Parameters: | backgroundToggle (bool) – Sets a new background toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## Bendlines

`ViewStyleSectionBuilder.``Bendlines`

  Returns or sets the bendlines toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `Bendlines`

  Returns: | Returns the bendlines toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Bendlines`

  Parameters: | bendlinesToggle (bool) – Sets a new bendlines toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## Crosshatch

`ViewStyleSectionBuilder.``Crosshatch`

  Returns or sets the crosshatch toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `Crosshatch`

  Returns: | Returns the crosshatch toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Crosshatch`

  Parameters: | crosshatchToggle (bool) – Sets a new crosshatch toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## DisplaySectionLine

`ViewStyleSectionBuilder.``DisplaySectionLine`

  Returns or sets the display section line toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `DisplaySectionLine`

  Returns: | Returns the display section line toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `DisplaySectionLine`

  Parameters: | displaySectionLine (bool) – Sets a new display section line toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## Foreground

`ViewStyleSectionBuilder.``Foreground`

  Returns or sets the foreground toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `Foreground`

  Returns: | Returns the foreground toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Foreground`

  Parameters: | foregroundToggle (bool) – Sets a new foreground toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## HiddenLineHatching

`ViewStyleSectionBuilder.``HiddenLineHatching`

  Returns or sets the hidden line hatching toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `HiddenLineHatching`

  Returns: | Returns the hidden line hatching toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HiddenLineHatching`

  Parameters: | hiddenLineHatchingToggle (bool) – Sets a new hidden line hatching toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## RestrictCrosshatchAngle

`ViewStyleSectionBuilder.``RestrictCrosshatchAngle`

  Returns or sets the restrict crosshatch angle toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `RestrictCrosshatchAngle`

  Returns: | Returns the restrict crosshatch angle toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `RestrictCrosshatchAngle`

  Parameters: | restrictCrosshatchAngleToggle (bool) – Sets a new restrict crosshatch angle toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## SheetBodies

`ViewStyleSectionBuilder.``SheetBodies`

  Returns or sets the sheet bodies toggle on the SECTION tab of the View Style Dialog

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

  Getter Method

  Signature `SheetBodies`

  Returns: | Returns the sheet bodies toggle value that is on the section sub-builder
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SheetBodies`

  Parameters: | sheetBodiesToggle (bool) – Sets a new sheet bodies toggle value on the section sub-builder

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

# Method Detail

## Validate

`ViewStyleSectionBuilder.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.