CurveDisplaySettings Class — NXOpen Python API Reference 12.0.0 documentation

# CurveDisplaySettings Class

class `NXOpen.CAE.Xyplot.``CurveDisplaySettings`

  Bases: `NXOpen.CAE.Xyplot.BaseDisplayStyleSetting`, `NXOpen.CAE.Xyplot.ICurveDisplaySettings`

  Represents the curve display style.

  Call Call `CAE.Xyplot.BaseDisplayStyleSetting.CommitChange()` to apply style changes to corresponding plot after it’s modified. Not support KF.

  New in version NX12.0.0.

# Properties

Property | Description
--- | ---
Color | Returns or sets the line color
Font | Returns or sets the line font
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object.
Owner | Returns the owner style
Tag | Returns the Tag for this object.
Width | Returns or sets the line width

# Methods

Method | Description
--- | ---
CommitChange | Commits any edits that have been applied to the display style.
Find | Finds the `NXOpen.TaggedObject` with the given identifier as recorded in a journal.

# Property Detail

## Color

`CurveDisplaySettings.``Color`

  Returns or sets the line color

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

  Getter Method

  Signature `Color`

  Returns: |
  Return type: | Id

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Color`

  Parameters: | color (Id) –

  New in version NX12.0.0.

  License requirements: None.

## Font

`CurveDisplaySettings.``Font`

  Returns or sets the line font

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

  Getter Method

  Signature `Font`

  Returns: |
  Return type: | `NXOpen.DisplayableObjectObjectFont`

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Font`

  Parameters: | gridFont (`NXOpen.DisplayableObjectObjectFont`) –

  New in version NX12.0.0.

  License requirements: None.

## Owner

`CurveDisplaySettings.``Owner`

  Returns the owner style

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

  Getter Method

  Signature `Owner`

  Returns: |
  Return type: | `NXOpen.CAE.Xyplot.IDisplayStyle`

  New in version NX10.0.0.

  License requirements: None.

## Width

`CurveDisplaySettings.``Width`

  Returns or sets the line width

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

  Getter Method

  Signature `Width`

  Returns: |
  Return type: | `NXOpen.DisplayableObjectObjectWidth`

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Width`

  Parameters: | gridWidth (`NXOpen.DisplayableObjectObjectWidth`) –

  New in version NX12.0.0.

  License requirements: None.

# Method Detail

## CommitChange

`CurveDisplaySettings.``CommitChange`

  Commits any edits that have been applied to the display style.

  Triggers the corresponding plot to update graph.

  Signature `CommitChange()`

  New in version NX9.0.0.

  License requirements: None.