get the number of cuelists

Open Source software contributions and discussions that supplement or extend the Palette / Light Palette software

get the number of cuelists

Postby Durisian on Tue Apr 20, 2010 8:57 am

Is there a way to get the number cuelists and look pages there are in a show?
User avatar
Durisian
 
Posts: 175
Joined: Tue Mar 31, 2009 3:10 am
Location: Melbourne, Australia

Re: get the number of cuelists

Postby RobertBell on 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
RobertBell
 
Posts: 2334
Joined: Fri Oct 12, 2007 1:11 pm
Location: In a barn north of Toronto

Re: get the number of cuelists

Postby Durisian on Thu Apr 22, 2010 5:10 am

Brilliant!
User avatar
Durisian
 
Posts: 175
Joined: Tue Mar 31, 2009 3:10 am
Location: Melbourne, Australia

Re: get the number of cuelists

Postby BrianEvans on 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.
User avatar
BrianEvans
 
Posts: 642
Joined: Fri Oct 12, 2007 1:11 pm
Location: Orlando, Florida


Return to Open Source