|
i have worked around this by creating an empty transform that i can manipulate. then setting the transforms equal to each other. still would like to understand why this method is simply ignored by xsi.
steven
On 10/29/07, Steven Caron <carons(at)gmail.com> wrote:
i am trying to figure out with this little bit of my script doesn't work... i create an empty rotation and try to set an object's rotation equal to it. essentially zeroing it out. no error logged. where is the failure in my logic?
#imports import win32com.client from win32com.client import constants #globals xsi = win32com.client.Dispatch( "XSI.Application" ).Application xsiPrint = xsi.LogMessage
rot =
XSIMath.CreateRotation() xsi.Selection(0).Kinematics.Local.Transform.Rotation = rot
|