If you want to go by name, you have to use the FullName on the
collection returned by .Constraints:
LogMessage(oObj.Kinematics.Constraints("Position
Cns").Parameters("blendweight").Value)
Hope that helps, cheers!
-André
John Clark wrote:
Hi all
just wondering how you go about targeting a constraints blendweight in
script? I just want to automate adding an expression.
I can point the script to other parameters in the object using this
sort of pointer
obj.Kinematics.Local.Parameters("sclx")
So I tried to point to a pose constraints blend weight like this
obj.Kinematics.Constraints.posecns.Parameters ("blendweight")
which is obvioulsy wrong, but what's right?
cheers
John
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi