PlotGraphTemplate Class

class NXOpen.CAE.Xyplot.PlotGraphTemplate

Bases: NXOpen.TaggedObject, NXOpen.CAE.Xyplot.IDisplayStyle

Manages the plot graph template.

Not support KF.

New in version NX10.0.0.

Properties

Property Description
DiagramDisplayStyles Returns the diagram display styles.
GeneralDisplayStyles Returns the general display styles.
Owner Returns the owner style
Tag Returns the Tag for this object.
WallDisplayStyles Returns the wall display styles.

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.
ImportTemplate Updates current graph template setting from a template xml file
ResetToDefault Resets the graph template to default values

Property Detail

DiagramDisplayStyles

PlotGraphTemplate.DiagramDisplayStyles

Returns the diagram display styles.

-------------------------------------

Getter Method

Signature DiagramDisplayStyles()

Returns:Diagram display styles
Return type:NXOpen.CAE.Xyplot.DiagramDisplayStyles

New in version NX10.0.0.

License requirements: nx_ftk (“NX Advanced Graphing”)

GeneralDisplayStyles

PlotGraphTemplate.GeneralDisplayStyles

Returns the general display styles.

-------------------------------------

Getter Method

Signature GeneralDisplayStyles()

Returns:General display styles
Return type:NXOpen.CAE.Xyplot.GeneralDisplayStyles

New in version NX10.0.0.

License requirements: nx_ftk (“NX Advanced Graphing”)

Owner

PlotGraphTemplate.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.

WallDisplayStyles

PlotGraphTemplate.WallDisplayStyles

Returns the wall display styles.

-------------------------------------

Getter Method

Signature WallDisplayStyles()

Returns:Wall display styles
Return type:NXOpen.CAE.Xyplot.WallDisplayStyles

New in version NX10.0.0.

License requirements: nx_ftk (“NX Advanced Graphing”)

Method Detail

CommitChange

PlotGraphTemplate.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: nx_ftk (“NX Advanced Graphing”)

ExportTemplate

PlotGraphTemplate.ExportTemplate

Exports current graph template setting to a template xml file, it will override the template file if it is existing.

Signature ExportTemplate(strXmlFile)

Parameters:strXmlFile (str) – Template xml file name

New in version NX10.0.0.

License requirements: nx_ftk (“NX Advanced Graphing”)

ImportTemplate

PlotGraphTemplate.ImportTemplate

Updates current graph template setting from a template xml file

Signature ImportTemplate(strXmlFile)

Parameters:strXmlFile (str) – Template xml file name

New in version NX10.0.0.

License requirements: nx_ftk (“NX Advanced Graphing”)

ResetToDefault

PlotGraphTemplate.ResetToDefault

Resets the graph template to default values

Signature ResetToDefault()

New in version NX10.0.0.

License requirements: nx_ftk (“NX Advanced Graphing”)