Jump to content


New Member
  • Content Count

  • Joined

  • Last visited

Everything posted by TonyTsao

  1. Oh Thanks you so much, you are a life saver If I may ask, do you know any resources where I can learn to some of the function for python (didn't know how some of the code work) Really appreciate it!
  2. Hi guys, just learned python in C4D recently I'm trying to make a few scripts that can change the selected null objects turn ON color & Cube display & orientation to XZ The coding below is my approach to make these changes, but it can only change one null at a time ----------------------------------------------------------------------------------------------------------------------------------------------------------- def main(): selObj = doc.GetActiveObject() dis = selObj[c4d.NULLOBJECT_DISPLAY] ori = selObj[c4d.NULLOBJECT_ORIENTATION] col = selObj[c4d.ID_BASEOBJECT_USECOLOR] print selObj print dis print ori print col selObj[c4d.NULLOBJECT_DISPLAY] = 11 #Cube display selObj[c4d.NULLOBJECT_ORIENTATION] = 3 #XZ orientation selObj[c4d.ID_BASEOBJECT_USECOLOR] = 1 #turn ON color display c4d.EventAdd() # Execute main() if __name__=='__main__': main() ----------------------------------------------------------------------------------------------------------------------------------------------------------- I also tried doc.GetActiveObject(c4d.GETACTIVEOBJECTFLAGS_0), but it didn't work though. Could someone point out what did I do wrong in the code? Thanks in advance.
  3. Thanks for the replies. Found out I was in the take mode , so I couldn't see any keyframes. Just by jumping back to the main take , the keyframes are all visible now.
  4. Currently I have a scene with lots of things animated. When I open my timeline , it's totally blank . All the stuffs are still animated though. Even if I toggled the automatic mode , nothing happens The strange thing is , I created a new scene and animated a cube from left to right. I can see the keyframes in the timeline. Has anyone bumped in to this problem before? Please help me out , thanks.

Latest Topics

Latest Comments

About Us

C4D Cafe is the largest Cinema 4D community. We provide facilities for discussion, showcasing and learning our favourite software.
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, watch tutorials directly from our video gallery,  get your own private messenger, post and upload images, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, C4D Cafe is the right place to be for learning 3D.  :cowboypistol:

  • Create New...