| 函数名: | 获取对象标签名 |
| 调 用: | gma.show.getobj.label(number:handle) |
| 参 数: | 数字:对象的handle |
| 返回值: | 字符串:名称;当对象没有设置标签则返回空值(nil) |
| 结 果: | 无 |
| 备 注: | 获取对象handle可以使用 gma.show.getobj.handle() |
例子:
- 在控台的 System monitor 中显示“Group 1”编组1的名称
function Start()
local handle_num = gma.show.getobj.handle("Group 1");
local label = gma.show.getobj.label(handle_num);
gma.echo(label);
end
return Start;
