Graph Class¶
-
class
NXOpen.CAE.Xyplot.
Graph
¶ Bases:
NXOpen.TaggedObject
Manages the display graph.
Each graph has its owner axis and graph name. Not support KF.
New in version NX10.0.0.
Properties¶
Property | Description |
---|---|
RecordCount | Returns the record count of the graph. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
CreateMarker | Creates the display marker on the graph. |
Find | Finds the NXObject with the given identifier as recorded in a journal. |
GetMarkers | Gets all markers on the graph. |
GetPointCount | Gets the point count of specified record on the graph. |
Property Detail¶
Method Detail¶
CreateMarker¶
-
Graph.
CreateMarker
¶ Creates the display marker on the graph.
The record index is between 0 and
CAE.Xyplot.Graph.RecordCount()
, 0 is inclusive. The point index is between 0 andCAE.Xyplot.Graph.GetPointCount()
, 0 is inclusive.Signature
CreateMarker(recordIndex, pointIndex)
Parameters: - recordIndex (int) – Record index
- pointIndex (int) – Point index
Returns: Marker model
Return type: New in version NX10.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
Find¶
-
Graph.
Find
¶ Finds the
NXObject
with the given identifier as recorded in a journal. An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.An exception will be thrown if no object can be found with the given journal identifier.
Signature
Find(journalIdentifier)
Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.TaggedObject
New in version NX10.0.0.
License requirements: None.
GetMarkers¶
-
Graph.
GetMarkers
¶ Gets all markers on the graph.
Signature
GetMarkers()
Returns: Marker models Return type: list of NXOpen.CAE.Xyplot.MarkerModel
New in version NX10.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)