Skip to content

GetAttributeCount()

You're viewing grandMA3 2.3 docs. Switch to the latest (2.4).

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