Jump to content


Regular Member
  • Content Count

  • Joined

  • Last visited

Community Reputation

19 Noble Beginner

Profile Information

  • First Name
  • Last Name
  • C4D Ver
    R18.039 Studio
  • Location

Recent Profile Visitors

1,123 profile views
  1. Wasnt it like 8 pm at the time you wrote this in the UK?
  2. Yeah I have done a lot of python tutorials and I feel I get most ofi t at this point. Well all the basics. Ive completed codeacademy and a lot more. But when you hop over to python for C4D. 90% of all that python knowledge is almost lost. well lets just say 70%. It feels knowing the C4D SDK documention and how it all works is about 70% and then all the python functions and syntaxes is only about 30%. If you want to change anything in C4D you really need to know where to look in the different c4d modules and which part and which function etc.
  3. well yeah. thats been the discussion. You would have to go into Options - configure. And then make the specific axis filter local. If that works for what you want then it does. I am pretty sure making it local is your only chance. and thats where the setting is found. in the viewport - options - configure and then the filter tab - right click any filter and make it local.
  4. Nice job Jed. love all your python stuff. Have been recently trying to learn it myself and its definitely so much fun and its interesting to be able to create things in Python. Its just a shame there is so little information out there. There are only a handful of people actually utilizing python in cinema it seems.
  5. It will work with Octane, since all the shader effector will do is tell you where the clones will be cloned on. And I am not sure but I think if clones arent visible they wont be computed. If you have a grid of 100 polys and each has its own clone. If you then say only have this one poly show its clone. thus ending up with 1 clone. I am pretty sure the other 99 that arent being used or shown will not factor in.
  6. this was my complete post: just assign that any part to a variable and then you can just check if that value is True ################## DATA_REGISTRY = [203,200,202,201] # any order print any((True for x in DATA_REGISTRY if x in OBJ_C)) _________ so something like this lst = [200,201,202,203,204] DATA_REGISTRY = any((True for x in lst if x in OBJ_C)) if DATA_REGISTRY is True: print "yay" else: print "nay"
  7. That's what I added underneath my last post you can also use this to find out which of the number in the list was found. for x in lst: if x in OBJ_C: print x
  8. DATA_REGISTRY = [203,200,202,201] # any order print any((True for x in DATA_REGISTRY if x in OBJ_C)) _________ so something like this lst = [200,201,202,203,204] DATA_REGISTRY = any((True for x in lst if x in OBJ_C)) if DATA_REGISTRY is True: print "yay" else: print "nay"
  9. Alright I guess you are right. That does indeed return a list of all the userdata not just the first one. And your next step is? you want to clear the remove the object from the object user data input? the object link. if the id is not 200. or if OBJ_C returns an empty list
  10. What exactly did you change in this one that does make it work? it basically is the same setup. I had only added an extra feature under try. To see if there is a user data present at all. With the script you added here you cant see that. You are looking for ID 200 and if that isnt there you simply have it return as failed. But then you dont know whether it failed because the user data number on the object isnt equal to 200 or that here is no user data at all or perhaps even a different error.
  11. What do you mean it only scans the first tuple? It doesnt . Do you mean it only scans the first the user data? You can easily fix that and have it scan the second if there is a second one or even third, fourth, fifth. If you want to check if an object with multiple user data inputs has any input with the id 200 . you can do that too. As it is now. it checks if the first user data input is equal to 200 and it also checks if there is a user data input at all. if not it will also return false
  12. Why not skip the selection tag step. and use your black and white texture in a shader effector to control where the clones should be visibile.
  13. Could be. Unless its working for other people too in older versions. Then it means its just not working on mine. Maybe I have some setting overwriting it. Or perhaps they did indeed change it.



C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :)
  • Create New...