Returns the number of frames on which a module has keys.
Used to determine the number of frames on which the primary selected module has keys.
Data retrieval
getNumKeys propertyName[-s] [-onMod string] |
Name | Type | Required | Comments |
---|---|---|---|
propertyName | string | yes | Channel property |
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
s | 0 | — | — | Selected keys only |
onMod | 1 | string | — | Returns key count for the specified module. |
integer
int $i; select RKNE; $i = `getNumKeys "Translation"`; print $i; //Output "4058" selectRange 1 100; selectKeys -ranges; $i = `getNumKeys "Translation.X" -s`; print $i; //Output "100" select; $i = `getNumKeys Translation -onMod RKNE`; print $i; //Output "4058" |