GetSubfixtureCount()
Description
Section titled âDescriptionâThe GetSubfixtureCount Lua function returns the total number of fixtures that are patched within the show file.
Arguments
Section titled âArgumentsâThis function does not accept any arguments.
- Integer:
The returned integer number represents the total amount of patched fixtures on all the stages in the show file.
Example
Section titled âExampleâThis example prints the total number of patched fixtures in the Command Line History:
| Copy CodeLua |
| ``` |
| return function () |
Printf('Total number of patched fixtures: %i', GetSubfixtureCount())end