Using XSI 5.11, can anyone confirm that duplicating
objects with a stepstetting below 1 will hang XSI?
Simple example, pointlight, pivot offset, 36 copies, using step 1
works, setting anything >1 as step will
hang XSI (see last line in script).
Also, is there a way to record/set changing keyframe-
interpolation from spline to linear in a script?
GetPrimLight "Point.Preset", "Point"
Translate , 0, -24, 0, siAbsolute, siGlobal, siObj, siY, , , , , , , ,
, , 0
CreateTransformGroup , "B:Point"
SelectObj "transfogroup"
ToggleSelection "Point"
SelectObj "transfogroup"
SetKey "transfogroup.kine.local.rotz", 1, 0
SetValue "PlayControl.Key", 36
SetValue "PlayControl.Current", 36
SetValue "transfogroup.kine.local.rotz", 360
SetKey "transfogroup.kine.local.rotz", 36, 360
SetValue "PlayControl.Key", 1
SetValue "PlayControl.Current", 1
ActivateObjectSelTool
ActivateObjectSelTool
SelectObj "Point", , True
DuplicateFromAnim "Point", 1, 36,2, False
//Enter any value below 1 to break script, e.g.
//DuplicateFromAnim "Point", 1, 36,0,5, False
Cheers
tim
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi