InheritPmiViewStyle Class — NXOpen Python API Reference 12.0.0 documentation

# InheritPmiViewStyle Class

class `NXOpen.Drawings.``InheritPmiViewStyle`

  Bases: `object`

  Represents set of InheritPmiViewStyle applicable to drafting views.

  To obtain an instance of this class use `Drawings.ViewStyle.InheritPmi()`

  New in version NX5.0.0.

# Properties

Property | Description
--- | ---
CrosshatchPmiLwsv | Returns the cross-hatch setting for the current inherited PMI Lightweight Section View
InheritPmiMode | Returns or sets the Inherit pmi mode.
InheritPmiToDrawing | Returns or sets the status of pmi inherited to drawing.
InheritPmiTypeMask | Returns or sets the Inherit pmi type mask.
PmiDimensionFromRevolved | Returns or sets the status of pmi inherited to drawing.

# Methods

Method | Description
--- | ---
SetCrosshatchPmiLwsv | Controls whether the cut faces of an inherited PMI Lightweight section view are cross-hatched or not.
SetInheritGdt | Inherit GD and T option,that let you inherit GD and T display instances onto the drawing plane or into a drawing member view.

# Property Detail

## CrosshatchPmiLwsv

`InheritPmiViewStyle.``CrosshatchPmiLwsv`

  Returns the cross-hatch setting for the current inherited PMI Lightweight Section View

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

  Getter Method

  Signature `CrosshatchPmiLwsv`

  Returns: | the crosshatch flag setting
  Return type: | bool

  New in version NX8.0.0.

  License requirements: None.

## InheritPmiMode

`InheritPmiViewStyle.``InheritPmiMode`

  Returns or sets the Inherit pmi mode.

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

  Getter Method

  Signature `InheritPmiMode`

  Returns: |
  Return type: | `NXOpen.Preferences.PmiOption`

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `InheritPmiMode`

  Parameters: | pmiOption (`NXOpen.Preferences.PmiOption`) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## InheritPmiToDrawing

`InheritPmiViewStyle.``InheritPmiToDrawing`

  Returns or sets the status of pmi inherited to drawing.

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

  Getter Method

  Signature `InheritPmiToDrawing`

  Returns: |
  Return type: | bool

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `InheritPmiToDrawing`

  Parameters: | pmiToDrawing (bool) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## InheritPmiTypeMask

`InheritPmiViewStyle.``InheritPmiTypeMask`

  Returns or sets the Inherit pmi type mask.

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

  Getter Method

  Signature `InheritPmiTypeMask`

  Returns: |
  Return type: | int

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `InheritPmiTypeMask`

  Parameters: | pmiTypeMask (int) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## PmiDimensionFromRevolved

`InheritPmiViewStyle.``PmiDimensionFromRevolved`

  Returns or sets the status of pmi inherited to drawing.

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

  Getter Method

  Signature `PmiDimensionFromRevolved`

  Returns: |
  Return type: | bool

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `PmiDimensionFromRevolved`

  Parameters: | pmiDimensionFromRevolved (bool) –

  New in version NX9.0.0.

  License requirements: drafting (“DRAFTING”)

# Method Detail

## SetCrosshatchPmiLwsv

`InheritPmiViewStyle.``SetCrosshatchPmiLwsv`

  Controls whether the cut faces of an inherited PMI Lightweight section view are cross-hatched or not.

  Signature `SetCrosshatchPmiLwsv(crosshatch)`

  Parameters: | crosshatch (bool) –

  New in version NX8.0.0.

  License requirements: drafting (“DRAFTING”)

## SetInheritGdt

`InheritPmiViewStyle.``SetInheritGdt`

  Inherit GD and T option,that let you inherit GD and T display instances onto the drawing plane or into a drawing member view.

  Signature `SetInheritGdt(gdtOption)`

  Parameters: | gdtOption (`NXOpen.Preferences.GdtOption`) – Inherit GDT option

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)