I try to add a PSR constraint with 2 targets, and this I do with de callbutton. This is in a loop. But somehow I can't find what I doing wrong. Do I have to add something before I do a callbutton command?
#Add PSR constraint to CenterMid myTagPSR = ListCenterMid[Loop3].MakeTag(1019364) myTagPSR[c4d.ID_BASELIST_NAME] = "PSR " myTagPSR[c4d.ID_CA_CONSTRAINT_TAG_PSR] = True c4d.CallButton(myTagPSR,c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD) myTagPSR = ListCenterIn[Loop3] myTagPSR = ListCenterOut[Loop3]