public interface Plot extends NXObject
Modifier and Type | Interface and Description |
---|---|
static class |
Plot.DeviceAndViewIndexData
This class holds the data returned from
getDeviceAndViewIndex() |
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat
Modifier and Type | Method and Description |
---|---|
TaggedObject |
find(String journalIdentifier)
Finds the
NXObject with the given identifier as recorded in a journal. |
void |
fitAxisLimit()
Update axis limits for an overlaying plot if current displayed axis limits in plot do not fit for all records.
|
Plot.DeviceAndViewIndexData |
getDeviceAndViewIndex()
Gets the window device and view index of the plot graph.
|
Graph[] |
getGraphs()
Gets all graphs on the plot.
|
int |
getRecordCount()
Returns the count of plotted records on the plot graph.
|
PlotGraphTemplate |
plotTemplate()
Returns the plot template
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
saveRecord(int recordIndex,
String afuFileName,
String recordName)
Deprecated.
Deprecated in NX10.0.0. Use
saveRecords(int[], java.lang.String[], java.lang.String, boolean) instead.
|
void |
saveRecords(int[] recordIndexes,
String[] recordNames,
String outputFileName,
boolean reportError)
Saves plotted records on a graph to an afu file.
|
void |
saveRecordsToCsv(int[] recordIndex,
String[] recordNames,
String csvFileName,
boolean isWriteHeader)
Saves plotted records on a plot graph to a CSV file.
|
int |
subGraphCountInStack()
Returns the sub-graph count in a stacked plot.
|
BaseTemplate |
template()
Deprecated.
Deprecated in NX10.0.0. Use
plotTemplate() instead.
|
deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
BaseTemplate template() throws NXException, RemoteException
plotTemplate()
instead.
NXException
RemoteException
int getRecordCount() throws NXException, RemoteException
NXException
RemoteException
void saveRecord(int recordIndex, String afuFileName, String recordName) throws NXException, RemoteException
saveRecords(int[], java.lang.String[], java.lang.String, boolean)
instead.
AfuManager.createRecord(nxopen.cae.XyFunctionMacroType, nxopen.cae.XyFunctionGeneralType, nxopen.cae.AfuData)
to create the record.
recordIndex
- the index of record to be savedafuFileName
- Afu file name recordName
- NXException
RemoteException
void saveRecords(int[] recordIndexes, String[] recordNames, String outputFileName, boolean reportError) throws NXException, RemoteException
getRecordCount()
.
recordIndexes
- The index of records to be savedrecordNames
- The output record names outputFileName
- The destination file with full file name.
The file suffix must be ".afu". reportError
- NXException
RemoteException
Plot.DeviceAndViewIndexData getDeviceAndViewIndex() throws NXException, RemoteException
NXException
RemoteException
Graph[] getGraphs() throws NXException, RemoteException
NXException
RemoteException
int subGraphCountInStack() throws NXException, RemoteException
NXException
RemoteException
PlotGraphTemplate plotTemplate() throws NXException, RemoteException
NXException
RemoteException
void fitAxisLimit() throws NXException, RemoteException
NXException
RemoteException
void saveRecordsToCsv(int[] recordIndex, String[] recordNames, String csvFileName, boolean isWriteHeader) throws NXException, RemoteException
recordIndex
- the indexes of records to be savedrecordNames
- csvFileName
- the destination CSV file name isWriteHeader
- NXException
RemoteException
TaggedObject find(String journalIdentifier) throws NXException, RemoteException
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.
journalIdentifier
- Journal identifier of the objectNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.