Yes it has always been that way.
That was done to permit shortcuts like
mygrid.posx = 4
rather than requiring
mygrid.kinematics.local.posx
However convenience comes at a cost! So for performance critical scripts it is better not to access parameters from the X3Dobject level.
-Andrew
Team Lead - XSI SDK
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf
Of Bernard Lebel
Posted At: Wednesday, September 14, 2005 3:28 PM
Posted To: xsi
Conversation: [script] Local kinematics in object parameters
Subject: [script] Local kinematics in object parameters
Hello,
To my great surprise, when I get the parameters of, say, a CameraRig,
I get the local kinematics parameters of the object.
ie:
oObject = selection(0)
logmessage( oObject.parameters.count )
Is it me or has it always been that way?
Thanks
Bernard
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi