Votes
0
Product:
iClone 7
Version:
7.4
Status:
Assigned
Issue 5594
RLPy.RScene.SelectObjects(ObjList) not working
It seems that the SelectObjects function is not working:

# get list of selected props
selectedProps = []
prop = RLPy.RScene.FindObject( RLPy.EObjectType_Prop, 'Ball_000' )
if prop:
selectedProps.append(prop)
prop = RLPy.RScene.FindObject( RLPy.EObjectType_Prop, 'Ball_001' )
if prop:
selectedProps.append(prop)

# select props in ic
res = RLPy.RScene.SelectObjects(selectedProps)

When it tries to execute the SelectedObjects command ic freezes and crashes.
OS: Windows 7
  •  1
  •  982
Submitted byjlittle
1
COMMENTS (1)
jlittle
I tried this again and it seems to be working. 
I must have not restarted iClone after a script crashed or something and that was interfering with it working.
1