Compatible With ScriptsCompatible With ExpressionsCompatible With The Command Line

 

int chanindex (object obj, string channelName )

 

Return Value: index of the channel named channelName

 

Arguments:

obj

object in question
channelName string representation of the channel name
 

For normal objects this function isn't terribly useful. This function is most useful for items whose channels have been renamed or those that that use the extended channels.

 

Example:

>chanindex(Camera, "aperture" )

This function returns 14, the index of the "aperture" channel for the Camera.

Converted from CHM to HTML with chm2web Pro 2.82 (unicode)