grandMA3 User Manual Publication

GetAttributeCount()

grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetAttributeCount()
Version 2.1

Description

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

Arguments

This function does not accept any arguments.

Return

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

Example

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

Lua
return function()
Printf("Attribute count is %i", GetAttributeCount())
end