Dear all,
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[10001] = ListCenterIn[Loop3]
myTagPSR[10011] = ListCenterOut[Loop3]