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

<viz:cluster>.getClientID

Returns the ID of a client given its computer name

<viz:cluster>.getClientID(  
name  
)  
name
The name of the client

Remarks

The name passed to this function should be the same name that is seen inside the cluster master application. If the specified name does not belong to a client, then 0 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 ID of the client

Example

LeftClient = viz.cluster.getClientID('Milkyway')
RightClient = viz.cluster.getClientID('Leander')

See also

<viz:cluster>.getClientName