| grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » SelectedFeature() | Version 2.2 |
SelectedFeature 関数は、選択されたフィーチャのハンドルを返します。
この関数は、引数を受け取りません。
選択したフィーチャに関するすべての情報を、Dump() で Command Line History に出力します。
Lua |
return function () -- The following prints the dump for the selected feature object Printf("=============== START OF DUMP ===============") SelectedFeature():Dump() Printf("================ END OF DUMP ================") end |