function Start()
local handle_num = gma.show.getobj.handle("Sequence 1");
local amount = gma.show.getobj.amount(handle_num);
gma.echo(amount);
end
return Start;
在控台的 System monitor 中显示“Fixture 1”组合灯具 B-EYE K10 有多少个子系灯,多少个模型,多少个模组
function Start()
local h = gma.show.getobj.handle('Fixture 1')
local subfixtures = gma.show.getobj.amount(h)
local h = gma.show.getobj.handle('FixtureType 1.modules')
local modules = gma.show.getobj.amount(h)
local h = gma.show.getobj.handle('FixtureType 1.instances')
local instances = gma.show.getobj.amount(h)
gma.echo(subfixtures);
gma.echo(modules);
gma.echo(instances);
end
return Start;