Getting Effector Unique ID
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/01/2012 at 03:34, xxxxxxxx wrote:
Starting from the cloner
I can pick up the effector list, then object, name and typeIf I have two effectors of the same type, with the same name
how do I tell them apart
and access that unique data(yes - this only picks the first effector in the list - will iterate later)
plsobj_0 = op[c4d.ID_USERDATA, 7] ef = obj_0[c4d.ID_MG_MOTIONGENERATOR_EFFECTORLIST].ObjectFromIndex(doc, 0) efname = obj_0[c4d.ID_MG_MOTIONGENERATOR_EFFECTORLIST].ObjectFromIndex(doc, 0).GetName() eftype = obj_0[c4d.ID_MG_MOTIONGENERATOR_EFFECTORLIST].ObjectFromIndex(doc, 0).GetType()
or do I get the Effector Object in the OM
and compare that against the returned parameter ef? to see if they match