Template2D Class¶
-
class
NXOpen.CAE.Xyplot.
Template2D
¶ Bases:
NXOpen.CAE.Xyplot.BaseTemplate
Manages the 2D display style
Not support KF.
New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
ComplexOption | Returns or sets the complex option |
GridLayoutStyleSetting | Returns the grid layout display style |
Owner | Returns the owner style |
PhaseAngle | Returns or sets the phase angle in degree |
PhaseRangeOption | Returns or sets the phase range option |
ShowOrderedAbscissa | Returns or sets a value indicating whether to show the data by ordered abscissa or not |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
CommitChange | Commits any edits that have been applied to the display style. |
ExportTemplate | Exports current graph template setting to a template xml file, it will override the template file if it is existing. |
GetAxisStyleSetting | Gets the axis display style @return Axis style |
GetBarStyleSetting | Gets the bar display style @return Bar style |
GetGraphStyle | Gets the graph style @return Graph style |
GetLineStyleSetting | Gets the line display style @return Line style |
GetPlateStyleSetting | Gets the plate display style @return Plate style |
GetScatterStyleSetting | Gets the scatter display style @return Scatter style |
GetTextStyleSetting | Gets the text style @return Text display style |
ImportTemplate | Updates current graph template setting from a template xml file |
ResetToDefault | Resets the graph template to default values |
SetGraphStyle | Sets the graph style |
SwitchXyAxis | Switches the X/Y axis |
Property Detail¶
ComplexOption¶
-
Template2D.
ComplexOption
¶ Returns or sets the complex option
-------------------------------------
Getter Method
Signature
ComplexOption()
Returns: Complex option Return type: NXOpen.CAE.Xyplot.ComplexOption2D
New in version NX7.5.0.
Deprecated since version NX10.0.0: Use
CAE.Xyplot.GeneralDisplayStyles2D.ComplexOption
instead.License requirements: nx_ftk (“NX Advanced Graphing”)
-------------------------------------
Setter Method
Signature
ComplexOption(complexOption)
Parameters: complexOption ( NXOpen.CAE.Xyplot.ComplexOption2D
) – Complex optionNew in version NX7.5.0.
Deprecated since version NX10.0.0: Use
CAE.Xyplot.GeneralDisplayStyles2D.ComplexOption
instead.License requirements: nx_ftk (“NX Advanced Graphing”)
Owner¶
-
Template2D.
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.
PhaseAngle¶
-
Template2D.
PhaseAngle
¶ Returns or sets the phase angle in degree
-------------------------------------
Getter Method
Signature
PhaseAngle()
Returns: Phase angle Return type: float New in version NX9.0.0.
Deprecated since version NX10.0.0: Use
CAE.Xyplot.GeneralDisplayStyles.PhaseAngle
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
PhaseAngle(phaseAngle)
Parameters: phaseAngle (float) – Phase angle New in version NX9.0.0.
Deprecated since version NX10.0.0: Use
CAE.Xyplot.GeneralDisplayStyles.PhaseAngle
instead.License requirements: nx_ftk (“NX Advanced Graphing”)
PhaseRangeOption¶
-
Template2D.
PhaseRangeOption
¶ Returns or sets the phase range option
-------------------------------------
Getter Method
Signature
PhaseRangeOption()
Returns: Phase range option Return type: NXOpen.CAE.Xyplot.PhaseRangeOption
New in version NX8.0.0.
Deprecated since version NX10.0.0: Use
CAE.Xyplot.GeneralDisplayStyles.PhaseRangeOption
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
PhaseRangeOption(phaseRangeOption)
Parameters: phaseRangeOption ( NXOpen.CAE.Xyplot.PhaseRangeOption
) – Phase range optionNew in version NX8.0.0.
Deprecated since version NX10.0.0: Use
CAE.Xyplot.GeneralDisplayStyles.PhaseRangeOption
instead.License requirements: nx_ftk (“NX Advanced Graphing”)
ShowOrderedAbscissa¶
-
Template2D.
ShowOrderedAbscissa
¶ Returns or sets a value indicating whether to show the data by ordered abscissa or not
-------------------------------------
Getter Method
Signature
ShowOrderedAbscissa()
Returns: Return type: bool New in version NX9.0.0.
Deprecated since version NX10.0.0: Use
CAE.Xyplot.GeneralDisplayStyles2D.ShowOrderedAbscissa
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
ShowOrderedAbscissa(ordered)
Parameters: ordered (bool) – New in version NX9.0.0.
Deprecated since version NX10.0.0: Use
CAE.Xyplot.GeneralDisplayStyles2D.ShowOrderedAbscissa
instead.License requirements: nx_ftk (“NX Advanced Graphing”)