Vizard 7 » Command Index » Vizard modules » viz » <viz:cluster>.getClientName
7.7

<viz:cluster>.getClientName

Returns the name of a client given a valid ID

<viz:cluster>.getClientName(  
id  
)  
id
The ID of the client

Remarks

The name returned by this function is the same as the name seen in the cluster master application. If the ID does not belong to a client, an empty string will be returned.

Note: The ID of a client is based on the order in which it appears in the cluster master application. You can reorder clients by dragging and dropping the name in the list.

Return Value

The name of the client

Example

print('Client 1 is',viz.cluster.getClientName(viz.CLIENT1))

See also

<viz:cluster>.getClientID