Join or
3d forums home Resources for 3d artists


xsi5 : key multiple objects script problems




3d Forum -> 3D Animation Talk Previous topic | Next topic
Viggo Hoskins Posted: September 14, 2006   Post subject: xsi5 : key multiple objects script problems
3d forums visitor


Joined: 15 Jun 2006
Posts: 10

Back to top
Reply
This is driving me crazy. Sometimes this works, sometimes it doesn't, but I can't seem to figure out why. Most of the problems seem to ocucr when I run this over objects that have a key on them (updating keyframes) or inbetween key frames. If I move the timeline past the last keyframe and run this is seems to run fine, but in the other situations, sometimes the keys are not in the correct places or sometimes (when updating keys) only the position of one or two objects are saved and the rest move back to the original position.

All the objects do have marking sets and I have tried various other ways of setting keys (SaveKeyOnMarkedKeyable, etc.), but nothing seems to be working. I'm currently using 5.1.

Any help is really appreciated.

Edit: If I comment out the SaveKey and run the script and then key with the K key, everything seems to work as expected. Is there a different way I should be saving the keys?


DeselectAll
SelectObj "Rigged_Textured_Final-3.R_Foot_ctrl", , True

AddToSelection "Rigged_Textured_Final-3.L_Foot_ctrl", , True

AddToSelection "Rigged_Textured_Final-3.Baby_Cog_Control", , True

AddToSelection "Rigged_Textured_Final-3.Upperbody_Control", , True

AddToSelection "Rigged_Textured_Final-3.Chest_Control", , True

SetMarking "MarkingSet"

SaveKey

Sponsor Posted: February 09, 2012   Post subject:
3d forum sponsor


Joined: 09 Aug 2010
Posts: 1

Back to top

Reply to topic    3d Forum -> 3D Animation Talk Previous topic | Next topic
Username:
Message body:
To Attach an Image to your post write the message then press the Go Advanced button. In the bottom of the advanced reply screen you will see an option to upload an image from your computer.

Confirmation code: Enter the code with CAPITAL LETTERS. There is no zero. Please add the result of 10-2*3= in front of the code.