| 函数名: | 获取对象类别 |
| 调 用: | gma.show.getobj.class(number:handle) |
| 参 数: | 数字:对象的handle |
| 返回值: | 字符串:对象的类别名称 |
| 结 果: | 无 |
| 备 注: | 获取对象handle可以使用 gma.show.getobj.handle() |
例子:
- 在控台的 System monitor 中显示“Group 1”编组1类别名称
function Start()
local handle_num = gma.show.getobj.handle("executor 1.1");
local class_name = gma.show.getobj.class(handle_num);
gma.echo(class_name);
end
return Start;
