Profile Picture

How to use Python API in iClone 8/CC 4 to set facial expression weight?

Posted By _RESERVED__450081 2 Years Ago
You don't have permission to rate!

How to use Python API in iClone 8/CC 4 to set facial expression...

Author
Message
_RESERVED__450081
_RESERVED__450081
Posted 2 Years Ago
View Quick Profile
New Member

New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)New Member (18 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 1, Visits: 12
I have tried using the following code, but I receive an error due to the expression weight being a read-only tuple:facial_component = avatar.GetFaceComponent()expression_weights = facial_component.GetExpressionWeights(clip_time, []) expression_weights[0] = 1 I have found many APIs to get the expression value, but none to edit the weight value. Since I need to modify this weight frequently, I cannot use the .ini config file or manually edit it. Can you suggest a Python API solution to set facial expression weight?https://forum.reallusion.com/uploads/images/b96c6d4e-1aa1-4fa3-8cb7-e11d.jpg



Reading This Topic