Anyone know why time isn't working the way the docs say?


https://forum.reallusion.com/Topic552675.aspx
Print Topic | Close Window

By Kelleytoons - Last Year
So I am trying something right out of the iClone 8 API docs:

# Get time value
time = RLPy.RTime(0)
time_value = time.GetValue()
print(time_value)

which fails at the first line of code, so clearly RLPy.RTime doesn't work the say it says it should work.  I *seem* to remember it having changed somewhere along the line but I can't find any change docs nor do I remember HOW it was changed (and apparently have no code which used the change).  I think it's also why all the rest of my coding isn't work but we'll cross that bridge when we come to it.

Any clues, guys?
By Kelleytoons - Last Year
I really should NOT post here until I do more digging.  Sigh.

https://docs.google.com/spreadsheets/d/1WUVJ8PunEUzLIB0VcOMUUNef3NY_Z7GL_W2V5388WWM/edit?gid=995806485#gid=995806485
By mrtobycook - Last Year
I find that I can struggle with a problem for days or weeks, then as soon as I post to a forum I figure it out 😂

But yes, time doesn’t work as advertised - glad you found a useful source that explains it / reminds you.

A while ago I did a whole lot of coding with time stuff for my face animation plugin, but it was all trial and error til it worked. Sigh. 😔
By Kelleytoons - Last Year
When I actually was working for a living (back when dinosaurs ruled the earth) I would find that I had a problem I couldn't solve and I'd work it and work it and suddenly I realized I had solved it previously (months or even years ago).  Sometimes I even found code snippets that said how I had done it - and so I'd "remembered" it all over again.

That happens more and more nowadays - it's very depressing in that it seems like I've forgotten about half of what I used to know.  Then again, I'm only coding a few days a month so it probably will never change (I PROMISE you I will forget all about this time thing again until the next time it happens and I might even end up posting again :>).
By BiggsTrek - Last Year
Kelleytoons (6/14/2024)
When I actually was working for a living (back when dinosaurs ruled the earth) I would find that I had a problem I couldn't solve and I'd work it and work it and suddenly I realized I had solved it previously (months or even years ago).  Sometimes I even found code snippets that said how I had done it - and so I'd "remembered" it all over again.

That happens more and more nowadays - it's very depressing in that it seems like I've forgotten about half of what I used to know.  Then again, I'm only coding a few days a month so it probably will never change (I PROMISE you I will forget all about this time thing again until the next time it happens and I might even end up posting again :>).


I feel your pain (going through the same thing more frequently than I'd like to admit...)