<font size="2"><font face="trebuchet ms,sans-serif">I am writing a script that applies a transform over the active object and animates its translation over time.</font></font><div><font size="2"><font face="trebuchet ms,sans-serif">A snippet of the relevant lines [the python script is at <a href="http://www.wikiupload.com/NEU3a9P3" target="_blank">http://www.wikiupload.com/NEU3a9P3</a> -&gt;Download button.  Â ] :</font></font></div>




<div><font size="2"><font face="trebuchet ms,sans-serif"><div><div>-------------------------------------</div><div>t=Transform()</div><div>scene = servermanager.animation.AnimationScene()</div><div>scene.ViewModules = [GetActiveView()]</div>




</div><div>cue = servermanager.animation.KeyFrameAnimationCue()</div><div>cue.AnimatedProxy = t.Transform</div><div>cue.AnimatedPropertyName = &quot;Scale&quot;</div><div>cue.AnimatedElement=2</div></font></font></div><div>




<font size="2"><font face="trebuchet ms,sans-serif">scene.Cues = [cue]</font></font></div><div><font size="2"><font face="trebuchet ms,sans-serif">.</font></font></div><div><font size="2"><font face="trebuchet ms,sans-serif">.</font></font></div>




<div><font size="2"><font face="trebuchet ms,sans-serif">.</font></font></div><div><font size="2"><font face="trebuchet ms,sans-serif"><div>cue.KeyFrames = [keyf0, keyf1]</div><div> </div><div>scene.Play()</div><div>--------------------------------------</div>




<div><br></div><div>When I use &quot;Scale&quot; for AnimatedPropertyName</div><div>the script works fine. However, I get an error &quot;<span style="font-family:Courier;font-size:11px;color:rgb(128, 0, 0)">ERROR: In ..\..\..\src\Servers\ServerManager\vtkSMRampKeyFrameProxy.cxx, line 52 </span><span style="font-family:Courier;font-size:11px;color:rgb(128, 0, 0)">vtkSMRampKeyFrameProxy (0C1076F0): Cue does not have domain or property set!&quot; </span>on using &quot;Translate&quot; or &quot;Rotate&quot;.</div>



<div>I don&#39;t know what I&#39;m setting wrong. In case anyone has got this working, please let me know.</div><div><br></div><div>Thanks,</div></font></font>--Madhura<br>
</div>