PDA

View Full Version : Iterate through Channel Groups



ernpchan
10-09-2014, 03:48 PM
How does one iterate through the channel groups of an item? I'm trying to get access to the morph envelopes of an object.

ernpchan
10-09-2014, 03:54 PM
for item in selected:
grp = lwItem.chanGroup(item)
get = lwChan.nextGroup(grp,None)
while get:
print lwChan.groupName(get)
get = lwChan.nextGroup(grp,get)