I am a beginner in C4D python, i want to create a group of cylinders in python,This is my original script, it is simple but wrong, Thank you if you can solve my problem
import c4d
def create_object(x):
position = c4d.Vector(x, 0, 0)
a = c4d.BaseObject(c4d.Ocube)
a.SetAbsPos(position)
return a
def main():
for i in range(1,1000,100):
create_object(i) '''
it should be a line array group of cylinders,the distance of each is 100,but
No response,i am so sad~