Lua 関数の GetSelectedAttribute は、現在選択されているアトリビュートへのハンドルを返します。
この関数は、引数を受け取りません。
この例では、ハンドルに関連するデータを、Dump() 関数を用いて出力しています。
return function()
-- This example dumps all information about the currently selected attribute
Printf("=============== START OF DUMP ===============")
GetSelectedAttribute():Dump()
Printf("================ END OF DUMP ================")
end