Re: targeting blendweight in script

Date : Tue, 27 May 2008 09:34:29 +0200
To : XSI(at)Softimage.COM
From : André Adam <a_adam(at)49games.de>
Subject : Re: targeting blendweight in script
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


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.