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 Fcurve editor operations ??

Scripting Fcurve editor operations ??

2004-02-18       - By Sean Donnelly

 Back
Reply:     1     2  

Check out the ScaleAndOffset and Sequence commands.

FYI, all the commands in the DopeSheet are scripted.  So if you do the
operation there you'll see the appropriate scripting command echo'd.

Sean

-- --Original Message-- --
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of jm
khayat
Posted At: Tuesday, February 10, 2004 12:57 PM
Posted To: xsi
Conversation: Scripting Fcurve editor operations ??
Subject: Scripting Fcurve editor operations ??



Hi all



Still in the process of transfering animation from one hand to another - er no,
I don't work on that full time for several days ;-)) - I noticed all the
operations done while in the Fcurve editor don't appear in the script editor.

So I managed to easily script the "CopyAnimation "my_model.LMiddle.kine.local
.euler", True, True, False and PasteAnimation "my_model.RMiddle3.kine.local
.euler".



But what if I need to invert (or scale by -1) the y value rotation ??



Sorry for my ignorance in scripting and thanks for your help



jm        



--



jm Khayat

-- ---- --Studio DELPHIS



www.studiodelphis.com




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">


<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE>@(protected) Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 70.85pt
70.85pt; }
P.MsoNormal {
  FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
  FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
  FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
  COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
  COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
  COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
  COLOR: purple; TEXT-DECORATION: underline
}
P.MsoAutoSig {
  FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoAutoSig {
  FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoAutoSig {
  FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
SPAN.stylecourrierlectronique17 {
  COLOR: windowtext; FONT-FAMILY: Arial
}
SPAN.stylecourrierlectronique19 {
  COLOR: navy; FONT-FAMILY: Arial
}
SPAN.stylecourrierlectronique20 {
  COLOR: navy; FONT-FAMILY: Arial
}
SPAN.StyleCourrierlectronique21 {
  COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
  page: Section1
}
</STYLE>
</HEAD>
<BODY lang=FR vLink=purple link=blue>
<DIV><SPAN class=268113719-18022004><FONT face="Comic Sans MS" color=#0000ff
size=2>Check out the <FONT size=2>ScaleAndOffset and Sequence
commands.</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=268113719-18022004><FONT face="Comic Sans MS" color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=268113719-18022004><FONT face="Comic Sans MS" color=#0000ff
size=2>FYI, all the commands in the DopeSheet are scripted.&nbsp; So if you do
the operation there you'll see the appropriate scripting command
echo'd.</FONT></SPAN></DIV>
<DIV><SPAN class=268113719-18022004><FONT face="Comic Sans MS" color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=268113719-18022004><FONT face="Comic Sans MS" color=#0000ff
size=2>Sean</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
 <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
 size=2>-- --Original Message-- --<BR><B>From:</B> owner-xsi@(protected)
 [mailto:owner-xsi@(protected)]<B>On Behalf Of </B>jm khayat<BR><B>Posted
 At:</B> Tuesday, February 10, 2004 12:57 PM<BR><B>Posted To:</B>
 xsi<BR><B>Conversation:</B> Scripting Fcurve editor operations
 ??<BR><B>Subject:</B> Scripting Fcurve editor operations
 ??<BR><BR></FONT></DIV>
 <DIV class=Section1>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi all</SPAN></FONT></P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Still in the process of
 transfering animation from one hand to another &#8211; er no, I don&#8217;t
<FONT
 color=navy><SPAN style="COLOR: navy">work on</SPAN></FONT> that full time for
 several days&nbsp;;-)) &#8211; I noticed all the operations done while in the
Fcurve
 editor don&#8217;t appear in the script editor.</SPAN></FONT></P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So I managed to easily script the
 &#8220;CopyAnimation "my_model.LMiddle.kine.local.euler", True, True, False
and
 PasteAnimation "my_model.RMiddle3.kine.local.euler".</SPAN></FONT></P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">But what if I need to invert (or
 scale by -1) the y value rotation ??</SPAN></FONT></P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sorry for my ignorance in
 scripting and thanks for your help</SPAN></FONT></P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">jm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;
 </SPAN></FONT></P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
 <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
 style="FONT-SIZE: 12pt">--</SPAN></FONT></P>
 <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
 style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
 <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
 style="FONT-SIZE: 12pt">jm Khayat</SPAN></FONT></P>
 <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
 style="FONT-SIZE: 12pt">-- ---- --<I><SPAN
 style="FONT-STYLE: italic">Studio<B><SPAN style="FONT-WEIGHT: bold">
 DELPHIS</SPAN></B></SPAN></I></SPAN></FONT></P>
 <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
 style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
 <P class=MsoAutoSig><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
 style="FONT-SIZE: 12pt">www.studiodelphis.com</SPAN></FONT></P>
 <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
 style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV></BLOCKQUOTE></BODY><
/HTML>