get the number of cuelists

Open Source software contributions and discussions that supplement or extend the Palette / Light Palette software
Post Reply
User avatar
MickCrozier
Posts: 288
Joined: Tue Mar 31, 2009 3:10 am
Primary Venue / Use: Professional Theatre
Where I Am: Melbourne, Australia
Location: Melbourne, Australia

get the number of cuelists

Post by MickCrozier » Tue Apr 20, 2010 8:57 am

Is there a way to get the number cuelists and look pages there are in a show?
Formerly Durisian (who died peacefully of digital old age)

User avatar
RobertBell
Posts: 2421
Joined: Fri Oct 12, 2007 1:11 pm
Primary Venue / Use: Other
Where I Am: Horizon Control Inc
Location: On the dark side just north of Toronto
Contact:

Re: get the number of cuelists

Post by RobertBell » Wed Apr 21, 2010 5:05 pm

Code: Select all

print(HC.GetProperty('cuelist','*','name'))
print(HC.GetProperty('lookpage','*','name'))
Robert Bell - Product Manager - Horizon Control Inc.

User avatar
MickCrozier
Posts: 288
Joined: Tue Mar 31, 2009 3:10 am
Primary Venue / Use: Professional Theatre
Where I Am: Melbourne, Australia
Location: Melbourne, Australia

Re: get the number of cuelists

Post by MickCrozier » Thu Apr 22, 2010 5:10 am

Brilliant!
Formerly Durisian (who died peacefully of digital old age)

User avatar
BrianEvans
Posts: 700
Joined: Fri Oct 12, 2007 1:11 pm
Location: Orlando, Florida

Re: get the number of cuelists

Post by BrianEvans » Sat Apr 24, 2010 9:23 pm

Rob showed you how to get the names of the items.

print(HC.GetProperty('system','numcuelists'))
print(HC.GetProperty('system','numlookpages'))

these show you how many of each there are.
Brian Evans - System Specialist - Horizon Control Inc.

Post Reply