I'm trying a sample code from link above, but it seems I just can't get it work.
I tested just first 3 lines, and it's the 4th line below that keeps giving me an error, <class 'TypeError'>.
avatar_list = RLPy.RScene.GetAvatars()
morph_component = avatar_list.GetMorphComponent()
result = morph_component.AddKey( "your_mesh_name", "your_morph_name", RLPy.RTime(67), 0.5 )
I changed only two strings, "your_mesh_name", "your_morph_name". For "your_mesh_name" I tried my head mesh name, "Face_smooth". And I think there's no problem with this because I could get that mesh string from avatar.GetMeshNames().
And Instead of "your_morph_name", I tried my blendshape name, Face Key slider name("Eyes Blink", "EyesBlink", "Eyes_Blink"...), and "Morph_1"... but to no avail. Still happens a type error.
Where did I get it wrong? Hope to get some answer or codes that works.