Scripting help

Date : Tue, 31 May 2005 16:12:34 +0200
To : xsi(at)Softimage.COM
From : Demian Zarins <demian.zarins(at)svt.se>
Subject : Scripting help

Hi everyone,

I´m in need of some scripting help here :) I´m not very good at it so
step by step help would be appreciated.

In my script (se attached script). I´m trying to make a more versatile duplicate/animation to path
setup. What I would likte to have is the possibility to have the PathCns PPG come up at the
end of the script so that I can set these properties without hardcoding it as I do now.


                        SetValue oSelection(i).Name + ".kine.pathcns.affbyori1", True
                        SetValue oSelection(i).Name + ".kine.pathcns.tangent", True
                        SetValue oSelection(i).Name + ".kine.pathcns.dirx", -1
                        SetValue oSelection(i).Name + ".kine.pathcns.diry", 0
                        SetValue oSelection(i).Name + ".kine.pathcns.dirz", 0
                        SetValue oSelection(i).Name + ".kine.pathcns.upvct_active", True
                        SetValue oSelection(i).Name + ".kine.pathcns.roll", 45


Maybe there is a built in way of doing this, in that case please share it with me :)
If anyone can set me in the right direction I would be thankfull.

TIA

Demian





---------------------------------------------------------------------------
D E M I A N    Z A R I N S
Projektledare
S V T -> Växthuset - The Green House
Sveriges Television
Oxenstiernsg 26
105 10 STOCKHOLM
Phone: +46 8 784 3312 ->mobile:+46 709-951984

Attachment: DZ_obj_to_path.zip
Description: Zip archive


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.