GetGraphObjects Function

Returns a list of IDs for the graph objects defined by the optional arguments as follows:

If no arguments are specified, the IDs for all graph objects are returned.

If the first argument is specified, all objects of the defined type will be returned.

If both arguments are specified, all objects of the defined type and located on the specified graph will be returned.

If the type name is invalid, or if the graph id specified in arg 2 is invalid or if there are no graphs open, the function will return an empty vector.

See Graph Objects for information on graph objects.

Arguments

Number Type Compulsory Default Description
1 string No Object type name
2 string No Graph ID

Returns

Return type: string array

See Also