AxisStyleSetting Class¶
-
class
NXOpen.CAE.Xyplot.AxisStyleSetting¶ Bases:
NXOpen.CAE.Xyplot.BaseDisplayStyleSettingRepresents the axis display style.
Call
CAE.Xyplot.BaseDisplayStyleSetting.CommitChange()to apply style changes to corresponding plot after it’s modified.Not support KF.
New in version NX9.0.0.
Properties¶
| Property | Description |
|---|---|
| AxisType | Returns or sets the axis scale type |
| DbDecades | Returns or sets the number of dB decades to display. |
| DbRef | Returns or sets the dB reference value for a dB axis type. |
| DbScale | Returns or sets the dB scale. |
| GraphOverhead | Returns or sets the round value to display. |
| JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
| LimitsType | Returns or sets the limits type |
| LogDecades | Returns or sets the number of Log decades to display. |
| Owner | Returns the owner style |
| Tag | Returns the Tag for this object. |
| UnitSystem | Returns or sets the unit system |
| UnitSystemType | Returns or sets the unit system type |
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. |
| GetDBSettings | Gets the dB settings |
| GetDisplayUnit | Gets display unit |
| GetFixedLimits | Gets the fixed limits |
| GetLabelStyle | Gets the label style |
| GetNumberStyle | Gets the number style |
| LogUnitChangedEvent | Logs an update event for changing display unit before committing AxisStyleSetting change. |
| SetFixedLimits | Sets the fixed limits |
Property Detail¶
AxisType¶
-
AxisStyleSetting.AxisType¶ Returns or sets the axis scale type
-------------------------------------Getter Method
Signature
AxisTypeReturns: Return type: NXOpen.CAE.Xyplot.AxisTypeNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AxisTypeParameters: axisType ( NXOpen.CAE.Xyplot.AxisType) –New in version NX9.0.0.
License requirements: None.
DbDecades¶
-
AxisStyleSetting.DbDecades¶ Returns or sets the number of dB decades to display.
Avaliable when
CAE.Xyplot.AxisStyleSetting.AxisType`()isCAE.XyplotAxisType.Db.-------------------------------------Getter Method
Signature
DbDecadesReturns: Return type: int New in version NX9.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: None.
-------------------------------------Setter Method
Signature
DbDecadesParameters: dbDecades (int) – New in version NX9.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: None.
DbRef¶
-
AxisStyleSetting.DbRef¶ Returns or sets the dB reference value for a dB axis type.
Avaliable when
CAE.Xyplot.AxisStyleSetting.AxisType`()isCAE.XyplotAxisType.Db.-------------------------------------Getter Method
Signature
DbRefReturns: Return type: float New in version NX9.0.0.
Deprecated since version NX12.0.0: Use
NXOpen.CAE.SignalProcessingDBSettings.DBReference()License requirements: None.
-------------------------------------Setter Method
Signature
DbRefParameters: dbRef (float) – New in version NX9.0.0.
Deprecated since version NX12.0.0: Use
NXOpen.CAE.SignalProcessingDBSettings.SetDBReference()License requirements: None.
DbScale¶
-
AxisStyleSetting.DbScale¶ Returns or sets the dB scale.
Avaliable when
CAE.Xyplot.AxisStyleSetting.AxisType`()isCAE.XyplotAxisType.Db.-------------------------------------Getter Method
Signature
DbScaleReturns: Return type: NXOpen.CAE.Xyplot.AxisDBScaleNew in version NX9.0.0.
Deprecated since version NX12.0.0: Use
NXOpen.CAE.SignalProcessingDBSettings.DBFormat()License requirements: None.
-------------------------------------Setter Method
Signature
DbScaleParameters: dbScale ( NXOpen.CAE.Xyplot.AxisDBScale) –New in version NX9.0.0.
Deprecated since version NX12.0.0: Use
NXOpen.CAE.SignalProcessingDBSettings.SetDBFormat()License requirements: None.
GraphOverhead¶
-
AxisStyleSetting.GraphOverhead¶ Returns or sets the round value to display.
It is a percent value. Avaliable when
CAE.Xyplot.AxisStyleSetting.AxisType`()is notCAE.XyplotAxisType.Auto.-------------------------------------Getter Method
Signature
GraphOverheadReturns: Return type: int New in version NX9.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: None.
-------------------------------------Setter Method
Signature
GraphOverheadParameters: graphOverhead (int) – New in version NX9.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: None.
LimitsType¶
-
AxisStyleSetting.LimitsType¶ Returns or sets the limits type
-------------------------------------Getter Method
Signature
LimitsTypeReturns: Return type: NXOpen.CAE.Xyplot.LimitsTypeNew in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LimitsTypeParameters: limitsType ( NXOpen.CAE.Xyplot.LimitsType) –New in version NX12.0.0.
License requirements: None.
LogDecades¶
-
AxisStyleSetting.LogDecades¶ Returns or sets the number of Log decades to display.
Avaliable when
CAE.Xyplot.AxisStyleSetting.AxisType`()isCAE.XyplotAxisType.Log.-------------------------------------Getter Method
Signature
LogDecadesReturns: Return type: int New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LogDecadesParameters: logDecades (int) – New in version NX9.0.0.
License requirements: None.
Owner¶
-
AxisStyleSetting.Owner¶ Returns the owner style
-------------------------------------Getter Method
Signature
OwnerReturns: Return type: NXOpen.CAE.Xyplot.IDisplayStyleNew in version NX10.0.0.
License requirements: None.
UnitSystem¶
-
AxisStyleSetting.UnitSystem¶ Returns or sets the unit system
-------------------------------------Getter Method
Signature
UnitSystemReturns: Return type: NXOpen.CAE.Xyplot.UnitSystemNew in version NX9.0.0.
Deprecated since version NX12.0.0: Use
NXOpen.CAE.Xyplot.AxisStyleSetting.UnitSystemType()instead.License requirements: None.
-------------------------------------Setter Method
Signature
UnitSystemParameters: unitSystem ( NXOpen.CAE.Xyplot.UnitSystem) –New in version NX9.0.0.
Deprecated since version NX12.0.0: Use
NXOpen.CAE.Xyplot.AxisStyleSetting.UnitSystemType()instead.License requirements: None.
UnitSystemType¶
-
AxisStyleSetting.UnitSystemType¶ Returns or sets the unit system type
-------------------------------------Getter Method
Signature
UnitSystemTypeReturns: Return type: NXOpen.CAE.XyFunctionUnitSystemNew in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UnitSystemTypeParameters: unitSystemType ( NXOpen.CAE.XyFunctionUnitSystem) –New in version NX12.0.0.
License requirements: None.
Method Detail¶
CommitChange¶
-
AxisStyleSetting.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.
GetDBSettings¶
-
AxisStyleSetting.GetDBSettings¶ Gets the dB settings
Signature
GetDBSettings()Returns: Return type: NXOpen.CAE.SignalProcessingDBSettingsNew in version NX11.0.0.
License requirements: None.
GetDisplayUnit¶
-
AxisStyleSetting.GetDisplayUnit¶ Gets display unit
Signature
GetDisplayUnit()Returns: Return type: NXOpen.CAE.FTK.BaseUnitNew in version NX12.0.0.
License requirements: None.
GetFixedLimits¶
-
AxisStyleSetting.GetFixedLimits¶ Gets the fixed limits
Signature
GetFixedLimits()Returns: a tuple Return type: A tuple consisting of (lowerLimit, upperLimit) lowerLimit is a float. upperLimit is a float. New in version NX12.0.0.
License requirements: None.
GetLabelStyle¶
-
AxisStyleSetting.GetLabelStyle¶ Gets the label style
Signature
GetLabelStyle()Returns: Return type: NXOpen.CAE.Xyplot.CustomTextStyleSettingNew in version NX11.0.0.
License requirements: None.
GetNumberStyle¶
-
AxisStyleSetting.GetNumberStyle¶ Gets the number style
Signature
GetNumberStyle()Returns: Return type: NXOpen.CAE.Xyplot.TextStyleSettingNew in version NX11.0.0.
License requirements: None.