Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Scripting help - PathCns

Scripting help - PathCns

2005-06-01       - By Demian Zarins

 Back
Reply:     1     2     3     4     5  

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 like 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



<br><font size=2 face="sans-serif">I´m in need of some scripting help here
:) I´m not very good at it so </font>
<br><font size=2 face="sans-serif">step by step help would be appreciated.
</font>
<br>
<br><font size=2 face="sans-serif">In my script (se attached script). I´m
trying to make a more versatile duplicate/animation to path</font>
<br><font size=2 face="sans-serif">setup. What I would like to have is
the possibility to have the PathCns PPG come up at the</font>
<br><font size=2 face="sans-serif">end of the script so that I can set
these properties without hardcoding it as I do now.</font>
<br>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetValue
oSelection(i).Name + &quot;.kine.pathcns.affbyori1&quot;, True</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetValue
oSelection(i).Name + &quot;.kine.pathcns.tangent&quot;, True</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetValue
oSelection(i).Name + &quot;.kine.pathcns.dirx&quot;, -1</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetValue
oSelection(i).Name + &quot;.kine.pathcns.diry&quot;, 0</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetValue
oSelection(i).Name + &quot;.kine.pathcns.dirz&quot;, 0</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetValue
oSelection(i).Name + &quot;.kine.pathcns.upvct_active&quot;, True</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetValue
oSelection(i).Name + &quot;.kine.pathcns.roll&quot;, 45</font>
<br>
<br>
<br><font size=2 face="sans-serif">Maybe there is a built in way of doing
this, in that case please share it with me :)</font>
<br><font size=2 face="sans-serif">If anyone can set me in the right direction
I would be thankfull.</font>
<br>
<br><font size=2 face="sans-serif">TIA</font>
<br>
<br><font size=2 face="sans-serif">Demian</font>
<br><font size=2 face="sans-serif"><br>
<br>
<br>
<br>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --<br>
D E M I A N &nbsp; &nbsp;Z A R I N S<br>
Projektledare<br>
S V T -&gt; Växthuset - The Green House<br>
Sveriges Television<br>
Oxenstiernsg 26<br>
105 10 STOCKHOLM<br>
Phone: +46 8 784 3312 -&gt;mobile:+46 709-951984<br>
<br>
</font>