Jump to content


Popular Content

Showing content with the highest reputation on 02/03/2019 in all areas

  1. 1 point
    I've had trouble posting python scenes to members with older versions recently, so a description will have to do. In this scene I used GetTags() to get a list of tags from the object, then tags[0] to reference the actual tag by index. For the correct syntax for things like sliders, I find just dragging the field into the Python window works (with a bit of editing). Not sure if this works with your R15. def main(): global Output1 # for test length = Input1 # constraint length cube = doc.SearchObject('Cube') # obj with tag tags = cube.GetTags() # get all tags on obj constraint_tag = tags[0] # get 1st tag (or whatever) # drag field from attrib manager to get syntax # may need some editing constraint_tag[50004,9] = length # set constraint length Output1 = length # test



C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite 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, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
  • Create New...