This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

scenes overview
#1
Hi,

I have LM's running with 600+ scenes.  Is there are a way to generate a report to show for all scenes which objects are used?

Thx,


Roger
Reply
#2
Use this as .lp file. It will print out group address and object name for all objects that are in any scene sequence.
Code:
<?
require('apps')

objects = db:getall([[
SELECT * FROM objects
WHERE id IN (SELECT object FROM scene_sequence)
ORDER BY id
]])

for _, obj in ipairs(objects) do
  print(buslib.decodega(obj.id), ' ', obj.name or '', '<br>')
end
Reply


Forum Jump: