Hi
Im trying to set the Tracer objects "Trace link" inExclude list from a python tag.
I dont get any errors and the GetObjectCount method returns the correct number of objects, but none are visible in the list itself. Any help appreciated. See attached file for example.
import c4d
def main():
# Get userdata from parent
root = op.GetObject().GetUp()[c4d.ID_USERDATA,1]
# Get first joint
hipJoint = root.GetDown()
# Get second joint
kneeJoint = hipJoint.GetDown()
# Get the tracers inExclude field
tracerList = op.GetObject()[c4d.MGTRACEROBJECT_OBJECTLIST]
# Insert hip
tracerList.InsertObject(hipJoint, 1)
# Insert knee
tracerList.InsertObject(kneeJoint, 1)
# Returns 2 but none are visible in the tracers inExclude field
print tracerList.GetObjectCount()
Regards
Bonsak