Message 1 of 3
MaxScript NumSelKeys and GetKeyIndex doesnt work on pos.controller

Not applicable
10-30-2013
06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
first of all - sorry for my bad english. Im from Germany.
I use 3ds Max 2014 64bit on Windows 7 Professional 64bit
At the moment i have some troubles with the NumSelKeys and GetKeyIndex - functions.
These both functions work fine on height.controller and so on, but if you use it on pos.controller the listener always gives "0" as answer.
For example:
- random object in scene and selected
- there are some Frames (position-changing) betwenn 0f and 1000f
- selectkeys $.pos.controller (interval 0 1000)
- --> the key between f0 and f1000 are selected perfectly
- numselkeys $.pos.controller
- --> listener: "0" regardless how many keys are selected
Same Problem with GetKeyIndex
- getkeyindex $.pos.controller 19 --> listener: "0"
- but in the scene there is on Time 19 a position-changing frame
Maybe there is a problem with indexing on the pos.controller in 3ds Max???
Thank you for reading!