THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/05/2012 at 09:06, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
Is it possible to set visibility keyframes with a script with C.O.F.F.E.E.? If so, how?
On 14/05/2012 at 09:21, xxxxxxxx wrote:
Littledevil already told you on cgsociety : Use the search function. Either on cgsociety/here/google or look into the documentation.
On 14/05/2012 at 10:39, xxxxxxxx wrote:
Thanks Niklas. My last checkin at CGTalk turned up nothing, and the forum looked so unused that I gave up on it. I'll be more diligent with it in the future.
By the way, here was my reply to "Yes, it is. Use the search fuction":
This is in the C.O.F.F.E.E. SDK help file:
Note: Currently it is not possible to allocate tracks, curves or keys in C.O.F.F.E.E.
So, yes, I did use the search and this is what I came up with and needed confirmation that it was impossible to create a keyframe in with a C.O.F.F.E.E. script in C4D.
On 14/05/2012 at 11:42, xxxxxxxx wrote:
You should've told us about what you say in the latter statement before, because that changes your position in our eyes. (Dunno if that makes sense in english, lol?)
So, here you have it. It is not possible to allocate tracks, curves and keys with COFFEE, you can only modify them.
My suggestions: Learn a better scripting-language: Python. It's easy, has a nice Syntax, it is extensible with libraries and it supports more features of the C4D API than COFFEE.
On 14/05/2012 at 11:51, xxxxxxxx wrote:
The only source I know of for Coffee timeline stuff is my own CoffeeBible.
There's a link to download it at the top of the web page:https://sites.google.com/site/scottayersmedia/scripting
As Niklas has pointed out. You can't create keys and tracks with Coffee. But you can create them using the create keys button. Then go in and do some manipulation of them afterwords with Coffee.
But Python is a much, much better way to go.
If you're stuck with Coffee and have no other choice. Then download that CoffeeBible.pdf.
On 14/05/2012 at 12:11, xxxxxxxx wrote:
Thanks a lot guys. I'm getting started with Python now, starting with video's by Michael Auerswald on vimeo, and the SDK docs.
On 14/05/2012 at 12:41, xxxxxxxx wrote:
I'd also suggest you to do some none-cinema 4d stuff. IMHO the best place to start is the official Python tutorial. After you've understanded some principles of Python and it's Syntax, you'll be able to write scripts for Cinema 4D, too.