HiddenLinesViewPreferences Class — NXOpen Python API Reference 12.0.0 documentation

# HiddenLinesViewPreferences Class

class `NXOpen.Preferences.``HiddenLinesViewPreferences`

  Bases: `object`

  Represents set of Hidden Lines View Preferences applicable to drafting views.

  Hidden Lines allows access to the hidden line display preferences for all views added to the drawing.

  To obtain an instance of this class use `Preferences.ViewPreferences.HiddenLines()`

  New in version NX5.0.0.

# Properties

Property | Description
--- | ---
EdgesHiddenByEdges | Returns or sets the staus of edges hidden by edges.
Hiddenline | Returns or sets the status of hiddenline.
HiddenlineColor | Returns or sets the color of hidden line.
HiddenlineFont | Returns or sets the font type of hidden line.
HiddenlineWidth | Returns or sets the width of hidden line or edges.
IncludeModelCurves | Returns or sets the status of include model curves.
InterferingSolids | Returns or sets the status of interfering solids.
InterferingSolidsOption | Returns or sets the status of interfering solids.
ReferenceEdgesOnly | Returns or sets the status of reference edges only.
SelfHidden | Returns or sets the status of self hidden.
SmallFeature | Returns or sets the small feature option.
SmallFeaturesTolerance | Returns or sets the value of small features tolerance.

# Methods

# Property Detail

## EdgesHiddenByEdges

`HiddenLinesViewPreferences.``EdgesHiddenByEdges`

  Returns or sets the staus of edges hidden by edges.

  This allows to control the display of edges which are hidden by other overlapping edges.

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

  Getter Method

  Signature `EdgesHiddenByEdges`

  Returns: |
  Return type: | bool

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `EdgesHiddenByEdges`

  Parameters: | edgesHiddenByEdges (bool) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## Hiddenline

`HiddenLinesViewPreferences.``Hiddenline`

  Returns or sets the status of hiddenline.

  The status affects the appearance of lines in a member view.

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

  Getter Method

  Signature `Hiddenline`

  Returns: |
  Return type: | bool

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Hiddenline`

  Parameters: | hiddenline (bool) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## HiddenlineColor

`HiddenLinesViewPreferences.``HiddenlineColor`

  Returns or sets the color of hidden line.

  The value should be between 1 and 216.

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

  Getter Method

  Signature `HiddenlineColor`

  Returns: |
  Return type: | int

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HiddenlineColor`

  Parameters: | color (int) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## HiddenlineFont

`HiddenLinesViewPreferences.``HiddenlineFont`

  Returns or sets the font type of hidden line.

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

  Getter Method

  Signature `HiddenlineFont`

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

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HiddenlineFont`

  Parameters: | font (`NXOpen.Preferences.Font`) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## HiddenlineWidth

`HiddenLinesViewPreferences.``HiddenlineWidth`

  Returns or sets the width of hidden line or edges.

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

  Getter Method

  Signature `HiddenlineWidth`

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

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `HiddenlineWidth`

  Parameters: | width (`NXOpen.Preferences.Width`) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## IncludeModelCurves

`HiddenLinesViewPreferences.``IncludeModelCurves`

  Returns or sets the status of include model curves.

  This allows the modeling curves in drawing views to participate in hidden line processing. Most useful where drawing are produced with wireframe curves or 2D sketch curves.

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

  Getter Method

  Signature `IncludeModelCurves`

  Returns: |
  Return type: | bool

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `IncludeModelCurves`

  Parameters: | includeModelCurves (bool) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## InterferingSolids

`HiddenLinesViewPreferences.``InterferingSolids`

  Returns or sets the status of interfering solids.

  This allows the correct rendering of hidden lines in a drawing member view with interfering solids.

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

  Getter Method

  Signature `InterferingSolids`

  Returns: |
  Return type: | bool

  New in version NX5.0.0.

  Deprecated since version NX6.0.0: Use `Preferences.HiddenLinesViewPreferences.InterferingSolidsOption()` instead.

  License requirements: None.

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

  Setter Method

  Signature `InterferingSolids`

  Parameters: | interferingSolids (bool) –

  New in version NX5.0.0.

  Deprecated since version NX6.0.0: Use `Preferences.HiddenLinesViewPreferences.InterferingSolidsOption()` instead.

  License requirements: drafting (“DRAFTING”)

## InterferingSolidsOption

`HiddenLinesViewPreferences.``InterferingSolidsOption`

  Returns or sets the status of interfering solids.

  This allows the correct rendering of hidden lines in a drawing member view with interfering solids.

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

  Getter Method

  Signature `InterferingSolidsOption`

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

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `InterferingSolidsOption`

  Parameters: | interferingSolids (`NXOpen.Preferences.HiddenLineInterferingSolidsOption`) –

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

## ReferenceEdgesOnly

`HiddenLinesViewPreferences.``ReferenceEdgesOnly`

  Returns or sets the status of reference edges only.

  This controls the rendering of hidden edges with annotation. If True, only hidden edges referencing annotations are rendered. Hidden edges not referenced by annotation are not rendered.

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

  Getter Method

  Signature `ReferenceEdgesOnly`

  Returns: |
  Return type: | bool

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ReferenceEdgesOnly`

  Parameters: | referenceEdgesOnly (bool) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## SelfHidden

`HiddenLinesViewPreferences.``SelfHidden`

  Returns or sets the status of self hidden.

  This allows the rendering of edges hidden by their own solid in the selected hidden line color, font, and width settings. If False, the hidden line processing only processes the lines hidden by other solids.

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

  Getter Method

  Signature `SelfHidden`

  Returns: |
  Return type: | bool

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SelfHidden`

  Parameters: | selfHidden (bool) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## SmallFeature

`HiddenLinesViewPreferences.``SmallFeature`

  Returns or sets the small feature option.

  This allows the simplification or removal of rendering of small features in large scale assembly drawings. Not all small features are considered for simplified rendering. Only if the boundary of a small feature lies completely within a face of the model is the small feature’s display modified.

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

  Getter Method

  Signature `SmallFeature`

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

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SmallFeature`

  Parameters: | smallFeature (`NXOpen.Preferences.HiddenLineSmallFeatureOption`) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)

## SmallFeaturesTolerance

`HiddenLinesViewPreferences.``SmallFeaturesTolerance`

  Returns or sets the value of small features tolerance.

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

  Getter Method

  Signature `SmallFeaturesTolerance`

  Returns: |
  Return type: | float

  New in version NX5.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SmallFeaturesTolerance`

  Parameters: | smallFeaturesTolerance (float) –

  New in version NX5.0.0.

  License requirements: drafting (“DRAFTING”)