code-google-com / blur-dev

Automatically exported from code.google.com/p/blur-dev
1 stars 0 forks source link

how to work with AtTime? #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. create a spehre, animate it somehow
2.
[code]
from Py3dsMax import AtTime, mxs
sphere = mxs.selection[0]
at = AtTime()
at(0)
print '0 --> ', sphere.pos
at(10)
print '10 --> ', sphere.pos
[/code]

What is the expected output? What do you see instead?
nothing happens, i see the default [0, 0, 0] each time

What version of the product are you using? On what operating system?
max2012, win xp 64bit

maybe there is some other 'modus operandi' for this new feature?
thank you!

Original issue reported on code.google.com by michael....@gmail.com on 20 Feb 2012 at 4:08

GoogleCodeExporter commented 9 years ago
There is a new version of Py3dsMax in the new installers(11552) that should 
resolve the issue
{{{
>>> from Py3dsMax import mxs, AtTime
>>> at = AtTime(1)
>>> sphere = mxs.selection[0]
>>> sphere.pos
[-34.3737,65.3852,0.0615939]
>>> at(10)
>>> sphere.pos
[-23.4859,60.9706,5.08299]
>>> at(10)
>>> sphere.pos
[-23.4859,60.9706,5.08299]
>>> at(15)
>>> sphere.pos
[-12.6267,56.5674,10.0912]
>>> at(5)
>>> sphere.pos
[-31.4278,64.1908,1.42025]
>>> at(25)
>>> sphere.pos
[10.0643,47.3669,20.5562]
}}}

Original comment by hen...@gmail.com on 25 Apr 2012 at 6:51