Hi,
I want to rename a joint chain using the naming tool. Here is the script:
import c4d
nTool = c4d.CallCommand(1019952)
nTool[c4d.ID_CA_JOINT_NAMING_REPLACE] = "_L_"
nTool[c4d.ID_CA_JOINT_NAMING_REPLACE_WITH] = "_R_"
However, it gives me an error of:
Traceback (most recent call last):
File "scriptmanager", line 4, in <module>
TypeError: 'NoneType' object does not support item assignment
From the previous topics, I think the reason is CallCommand actually returns a NoneType. My problem is how do I modify naming tool after or store it in a variable so I can modify it accordingly.
Thank you for looking at my problem.