GetGraphTabs Function

Returns the graph IDs of all graphs currently open

Arguments

Number Type Compulsory Default Description
1 real No All graph windows No longer used

Argument 1

Originally this was the index of a graph window as returned in the user index field by the function GetWindowNames with the 'full' option specified. However, since version 8, the GUI design of SIMetrix has changed and there is no longer a concept of different types of window. All windows can contain many different types of tabbed object. So this value is now ignored and the function returns the paths for all open graphs.

Returns

Return type: string array

Returns an array of strings of length equal to the number of graphs currently open. Each element in the array is the ID of the graph object displayed in the tabbed sheet. The ID may be used in functions such as GetGraphObjPropValue to obtain information about the graph including curves, axes, titles etc.