Lua 関数の GetAttributeByUIChannel は、「UIチャンネル・インデックス」に基づくアトリビュートへのハンドルを返します。インデックス番号は Parameter List で確認できます。
この例では、現在のセレクションにある最初のフィクスチャの最初のアトリビュートについて、「ネイティブ」なアドレスを出力しています。
return function()
-- Get a handle to the first fixture in the current selection
local fixtureIndex = SelectionFirst()
-- Get the UI Channel Index number for the first attribute for the fixture
local channelIndex = GetUIChannelIndex(fixtureIndex,0)
-- Print the native address for the attribute with the handle
Printf("The native addr for the attribute is: %s",GetAttributeByUIChannel(channelIndex):AddrNative())
end