ConstructionFeatureData Class — NXOpen Python API Reference 12.0.0 documentation

# ConstructionFeatureData Class

class `NXOpen.Features.``ConstructionFeatureData`

  Bases: `NXOpen.TransientObject`

  Represents the data of a construction feature.

  An instance of this class can be obtained from `NXOpen.Features.CustomFeaturePreUpdateEvent.CreateConstructionFeatureData()`

  New in version NX11.0.0.

# Properties

Property | Description
--- | ---
ShowInGraphicView | Returns or sets the construction feature visibility in Graphic View

# Methods

Method | Description
--- | ---
Dispose | Frees the memory associated with this object.
GetFeature | Get the feature

# Property Detail

## ShowInGraphicView

`ConstructionFeatureData.``ShowInGraphicView`

  Returns or sets the construction feature visibility in Graphic View

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

  Getter Method

  Signature `ShowInGraphicView`

  Returns: | True if the feature to be visible in Graphic View else false
  Return type: | bool

  New in version NX11.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

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

  Setter Method

  Signature `ShowInGraphicView`

  Parameters: | showInGraphicView (bool) – True if the feature to be visible in Graphic View else false

  New in version NX11.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)

# Method Detail

## Dispose

`ConstructionFeatureData.``Dispose`

  Frees the memory associated with this object.

  After invocation of this method, the object is no longer valid.

  Signature `Dispose()`

  New in version NX11.0.0.

  License requirements: None.

## GetFeature

`ConstructionFeatureData.``GetFeature`

  Get the feature

  Signature `GetFeature()`

  Returns: | The Construction Feature
  Return type: | `NXOpen.Features.Feature`

  New in version NX11.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”)