Skip to content

GetAttributeCount()

The GetAttributeCount Lua function returns the total number of attribute definitions in the show.

This function does not accept any arguments.

  • Integer:
    The returned integer number represents the total amount of attribute definitions in the show file.

This example prints the returned number in the Command Line History.

Copy CodeLua
```
return function()
Printf("Attribute count is %i", GetAttributeCount())

end